TypeScript/tests/baselines/reference/symbolType14.errors.txt
2015-02-06 21:32:30 -08:00

7 lines
323 B
Plaintext

tests/cases/conformance/es6/Symbols/symbolType14.ts(1,1): error TS2350: Only a void function can be called with the 'new' keyword.
==== tests/cases/conformance/es6/Symbols/symbolType14.ts (1 errors) ====
new Symbol();
~~~~~~~~~~~~
!!! error TS2350: Only a void function can be called with the 'new' keyword.