mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
12 lines
171 B
TypeScript
12 lines
171 B
TypeScript
// @noImplicitAny: true
|
|
declare let win: Window & typeof globalThis;
|
|
|
|
// all accesses should be errors
|
|
win.hi
|
|
this.hi
|
|
globalThis.hi
|
|
|
|
win['hi']
|
|
this['hi']
|
|
globalThis['hi']
|