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
Since TypeScript 1.8+ you can use simple simple import statement like:
1.8+
import
import { ClassName } from '../relative/path/to/file';
or the wildcard version:
import * as YourName from 'global-or-relative';
Read more: https://www.typescriptlang.org/docs/handbook/modules.html