Udělal jsem dvě strojopisu soubory A.tsa 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
OK. To dělá A.js a TestA.js.tsc TestA.ts -e
NG. „RefenceError:Anení definována“tsc A.ts TestA.ts -e
také vyvolává stejnou chybu
Kam mám jít špatně?













