TypeScript/tests/baselines/reference/parserObjectCreationArrayLiteral1.errors.txt
2014-07-12 17:30:19 -07:00

6 lines
253 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/parserObjectCreationArrayLiteral1.ts (2 errors) ====
new Foo[];
~~
!!! 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
~~~
!!! Cannot find name 'Foo'.