TypeScript/tests/baselines/reference/parserObjectCreationArrayLiteral1.errors.txt

6 lines
253 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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'.