Я сделал два машинопись файлов A.tsи TestA.ts.
A.ts
class A {
constructor( private name : string ){}
disp(){ console.log( this.name ); }
}
TestA.ts
/// <reference path=A.ts/>
var a1 = new A( Jun );
a1.disp();
tsc TestA.ts
ОК. Это делает A.js и TestA.js.tsc TestA.ts -e
NG. «RefenceError:Aне определен»tsc A.ts TestA.ts -e
также вызывает ту же ошибку
Где я ошибся?













