Files
tsgo/testdata/baselines/reference/submodule/compiler/cannotInvokeNewOnIndexExpression.errors.txt

7 lines
331 B
Plaintext

cannotInvokeNewOnIndexExpression.ts(1,23): error TS2693: 'any' only refers to a type, but is being used as a value here.
==== cannotInvokeNewOnIndexExpression.ts (1 errors) ====
var test: any[] = new any[1];
~~~
!!! error TS2693: 'any' only refers to a type, but is being used as a value here.