TypeScript/tests/baselines/reference/parserObjectCreationArrayLiteral1.errors.txt
2014-09-11 16:11:08 -07:00

6 lines
281 B
Plaintext

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