7 lines
No EOL
323 B
Text
7 lines
No EOL
323 B
Text
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. |