Skip to content

The global variable in Zone.js not compatible with the one in @types/node #37531

@JasonHK

Description

@JasonHK

🐞 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?

Metadata

Metadata

Assignees

Labels

area: zonesIssues related to zone.js

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions