Skip to content

Duplicate global variables declarations in lib/lib.dom.d.ts #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrbar42 opened this issue Nov 7, 2019 · 0 comments · Fixed by #801
Closed

Duplicate global variables declarations in lib/lib.dom.d.ts #796

mrbar42 opened this issue Nov 7, 2019 · 0 comments · Fixed by #801

Comments

@mrbar42
Copy link

mrbar42 commented Nov 7, 2019

Some of the global variables are declared twice in lib/lib.dom.d.ts.
While this doesn't cause a direct error, it does cause some issues for obscure uses of this lib.
Nonetheless, assuming there is's no reason for this duplication, it would increase the correctness of the code and there for it is purposed.

The fouling declarations:

declare var caches: CacheStorage;
declare var crypto: Crypto;
declare var indexedDB: IDBFactory;
declare var performance: Performance;
declare var sessionStorage: Storage;
declare var localStorage: Storage;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant