Skip to content

[Question] TypeScript compilation must include the browser environment #3037

@mightyiam

Description

@mightyiam

In order to get a successful TypeScript compilation, the dom types must be included (previously mentioned in #2659 (comment)).

Doing that results in TypeScript allowing access to browser globals such as window, document, URL and many more, which do not really exist in Node.js.

Is this recognized as an issue that would possibly be addressed, please?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions