8 lines
170 B
TypeScript
8 lines
170 B
TypeScript
//// [newNonReferenceType.ts]
|
|
var a = new any();
|
|
var b = new boolean(); // error
|
|
|
|
|
|
//// [newNonReferenceType.js]
|
|
var a = new any();
|
|
var b = new boolean(); // error
|