TypeScript nie wymaga zdefiniowania

Use a resource bundler like webpack. Webpack will look at all 
dependant files starting from your main.js file and bundle and 
compress them down into a single small .js file. 
This also works for external dependencies (npm). 
All you have to do then is to include that single bundle.js file 
into the html
MitchAloha