TypeScript/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.errors.txt
2014-09-12 13:35:07 -07:00

13 lines
673 B
Plaintext

tests/cases/conformance/parser/ecmascript5/parserNoASIOnCallAfterFunctionExpression1.ts(1,9): error TS2346: Supplied parameters do not match any signature of call target.
tests/cases/conformance/parser/ecmascript5/parserNoASIOnCallAfterFunctionExpression1.ts(2,7): error TS2304: Cannot find name 'window'.
==== tests/cases/conformance/parser/ecmascript5/parserNoASIOnCallAfterFunctionExpression1.ts (2 errors) ====
var x = function () { }
~~~~~~~~~~~~~~~
(<any>window).foo;
~~~~~~~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.
~~~~~~
!!! error TS2304: Cannot find name 'window'.