mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
462 B
Plaintext
14 lines
462 B
Plaintext
exponentiationOperatorWithNew.ts(6,5): error TS2351: This expression is not constructable.
|
|
Type 'Number' has no construct signatures.
|
|
|
|
|
|
==== exponentiationOperatorWithNew.ts (1 errors) ====
|
|
var a: any;
|
|
var b: any;
|
|
var c: any;
|
|
new a ** b ** c;
|
|
new a ** new b ** c;
|
|
new (a ** b ** c);
|
|
~~~~~~~~~~~~~
|
|
!!! error TS2351: This expression is not constructable.
|
|
!!! error TS2351: Type 'Number' has no construct signatures. |