The `global` variable in Zone.js not compatible with the one in @types/node
See original GitHub issueπ bug report
Affected Package
he issue is caused by package zone.js
Is this a regression?
No.
Description
In DefinitelyTyped/DefinitelyTyped#44700, the type definition of the global
variable was updated to NodeJS.Global & typeof globalThis
. Which makes the Zone.js package not compatible with @types/node 14.0.5 or up.
This issue was reported in DefinitelyTyped/DefinitelyTyped#45116.
π¬ Minimal Reproduction
π₯ Exception or Error
π Your Environment
Angular Version:
Anything else relevant?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Unable to build since upgrading from Angular 9.17 to 9.19
ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent variable declarations must have the same type.
Read more >Storing Data in Node-Red Variables
Learn how to store data in node-red context,flow and global variables. Also how to store this data on disk so as to be...
Read more >Angular 9 Migration Issue Declare Var Global - ADocLib
of the global variable was updated to NodeJS.Global & typeof globalThis. Which makes the Zone.js package not compatible with @types/node 14.0.5 or up....
Read more >Global Variables - GameMaker Manual
A basic description of a global variable is one that, once declared, it belongs to no instance in particular and yet can be...
Read more >How do JavaScript's global variables really work? - 2ality
The global object contains all built-in global variables. The global environment #. The global scope is the βoutermostβ scope β it has no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello guys, is there any update on this, I can see a PR is opened. Can we expect this to be fixed and released any time soon?
Upgrading zone.js to 0.11.1 helps.