You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use TS in an environment where there is no DOM (e.g. node.js). If I leave the default options of tsconfig.json on, I still get completions for DOM related members like "window".
I can turn this off by setting noLib: true in the tsconfig.json but then I have to manually include all d.ts files, even from ECMAScript.
Is there any way I can tell TS to not include DOM APIs?
The text was updated successfully, but these errors were encountered:
I would like to use TS in an environment where there is no DOM (e.g. node.js). If I leave the default options of tsconfig.json on, I still get completions for DOM related members like "window".
I can turn this off by setting noLib: true in the tsconfig.json but then I have to manually include all d.ts files, even from ECMAScript.
Is there any way I can tell TS to not include DOM APIs?
The text was updated successfully, but these errors were encountered: