Skip to content

Conversation

@justjavac
Copy link
Contributor

@justjavac justjavac commented Sep 19, 2019

see microsoft/TypeScript#32335

https://devblogs.microsoft.com/typescript/announcing-typescript-3-6/#dom-updates

The global window is no longer defined as type Window – instead, it is defined as type Window & typeof globalThis. In some cases, it may be better to refer to its type as typeof window.

fixed #2669

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You accidentally added //build

@justjavac justjavac force-pushed the fix-deno-runtime-types branch from 0388178 to 44e4354 Compare September 19, 2019 06:27
Copy link
Contributor

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justjavac justjavac force-pushed the fix-deno-runtime-types branch from 7177e7b to f19c583 Compare September 19, 2019 11:11
@ry ry merged commit 1b1ae65 into denoland:master Sep 19, 2019
@justjavac justjavac deleted the fix-deno-runtime-types branch October 11, 2019 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot access certain globalThis properties in .ts files

3 participants