TypeScript/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.types
Nathan Shively-Sanders 5289f2ede9
Update DOM from TSJS-lib-generator (#32335)
* 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
2019-07-10 16:36:50 -07:00

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