Closed Pryanishnik closed 3 years ago
I try to compile few ts classes to single js file and use it as js lib in browser. Right now I faced the problem that if I have
ClassA{ someField: ClassB; }
tsify converts it to var ClassB_1= require("./ClassB"); and also exports ClassB but doesn't use it in code like
var ClassB_1= require("./ClassB");
ClassA{ someField: ClassB_1; }
Where did I make mistake?
I try to compile few ts classes to single js file and use it as js lib in browser. Right now I faced the problem that if I have
tsify converts it to
var ClassB_1= require("./ClassB");
and also exports ClassB but doesn't use it in code likeWhere did I make mistake?