I'm using the new TypeScript for VS tooling system to generate JavaScript programs from TypeScript syntax. I need to define my app and the utils in seperate files, and I need to know how the util "classes" and functions will be included into the main app.
I've heard of the
/// <reference path="....ts" />
syntax that lets you access code from external files. Does this syntax act likeinclude
would in C++? Would it pull the used classes/functions into the mainapp.ts
file or would it simply expect the target files to exist as.js
files in the same directory?Should I use internal modules to define classes that will be included (inlined) into the main app?