How do I import other TypeScript files?

前端 未结 9 1624
北恋
北恋 2020-11-28 20:29

When using the TypeScript plugin for vs.net, how do I make one TypeScript file import modules declared in other TypeScript files?

file 1:

module moo
         


        
9条回答
  •  难免孤独
    2020-11-28 20:41

    used a reference like "/// and then in the VS2013 project properties for building "app.ts","Typescript Build"->"Combine javascript output into file:"(checked)->"app.js"

提交回复
热议问题