-
Notifications
You must be signed in to change notification settings - Fork 834
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
Don't use lib dom during compilation #3257
Comments
Is there a way to only include the lib in a single file or folder? We could always manually declare types ourselves if needed. |
I tried via Maybe some background why I reported this. I found that removing lib dom results in following compile error in consoleLogger.ts:
Reason is the |
Only movement I've seen in this space is microsoft/TypeScript-DOM-lib-generator#1207, which doesn't have much movement |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stale for 14 days with no activity. |
Currently tsconfig.json doesn't include a
lib
config. This results in automatically including dom - browser types (see https://www.typescriptlang.org/tsconfig#lib)The only place where this is needed is for global this here
Should we aim to remove this to avoid that we use/rely on these types on other places?
The text was updated successfully, but these errors were encountered: