Csináltam két géppel fájlokat A.tsés TestA.ts.
ATS
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
RENDBEN. Lehetővé teszi A.js és TestA.js.tsc TestA.ts -e
NG. „RefenceError:Anincs meghatározva”tsc A.ts TestA.ts -e
felveti ugyanazt a hibát
Hol tudok baj?













