* Update DOM from TSJS-lib-generator 1. Update Navigator and other small updates. 2. Make ProgressEvent generic. 3. Make `window: Window & typeof globalThis`. 4. Add types: * CSS Overflow * CSS Masking * Web Authentication * WebGL 2 The big change is that `window` now includes globals in its type via `typeof globalThis`. This helps some codebases a lot, such as chrome-devtools-frontend. * Update baselines
13 lines
336 B
Plaintext
13 lines
336 B
Plaintext
=== tests/cases/conformance/parser/ecmascript5/parserNoASIOnCallAfterFunctionExpression1.ts ===
|
|
var x = function () { }
|
|
>x : any
|
|
>function () { }(<any>window).foo : any
|
|
>function () { }(<any>window) : void
|
|
>function () { } : () => void
|
|
|
|
(<any>window).foo;
|
|
><any>window : any
|
|
>window : Window & typeof globalThis
|
|
>foo : any
|
|
|