17 lines
326 B
TypeScript
17 lines
326 B
TypeScript
//// [cannotInvokeNewOnErrorExpression.ts]
|
|
module M
|
|
{
|
|
class ClassA {}
|
|
}
|
|
var t = new M.ClassA[];
|
|
|
|
//// [cannotInvokeNewOnErrorExpression.js]
|
|
var M;
|
|
(function (M) {
|
|
var ClassA = (function () {
|
|
function ClassA() {
|
|
}
|
|
return ClassA;
|
|
})();
|
|
})(M || (M = {}));
|
|
var t = new M.ClassA[];
|