Israel Lazo Posted February 26, 2014 Share Posted February 26, 2014 Is it possible to start a TypeScript project and add a javascript library later? let's say i want to make a 100% typescript game and later I want to include Ads on it and the ads are using a javascript library. is that possible and easy? thanks in advance! Link to comment Share on other sites More sharing options...
cheshirepuss42 Posted February 26, 2014 Share Posted February 26, 2014 Yes, javascript is valid typescript. You can just add whatever javascript you want. Typescript is basically a layer on top of javascript that allows you to do some compile-time checking, which allows for making classes and such. But at runtime it is just javascript, and the compilation will just take any javascript and put it in the output (or call it from the output). Link to comment Share on other sites More sharing options...
Israel Lazo Posted February 26, 2014 Author Share Posted February 26, 2014 thanks! Link to comment Share on other sites More sharing options...
Recommended Posts