javascript - exporting TypeScript modules for browserify -
I have recently changed a canvas library, in which I wrote in the type scripts. I have broken the code into classes and they are all connected to a Ideal I would like to run my files through the browser, but at the moment I want to do it. A file and then another Basically I use the In my CNVT file, So when it is compiled, I have a file in the code base, connecting to the window or connecting More files that can be compiled with the browser in a file. The full code is thanks check out < Strong> Type : Please note that you should go to Node.js. cnvs module, but I'm having trouble compiling these files in one file
module CNVS {export class shape {// here stuff}}
///
import shape = need ('./shape') I was trying to export the CNVS module in my CNVT file (with some variants, like adding extensions and not leading). '/')] / P>
Comments
Post a Comment