2 つの TypeScript ファイル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
また、同じエラーが発生します
どこが間違っていますか?