Can anyone shed some light on TypeScript 1.8 modules for me, please?
So, I have a file named SomeClass.ts:
export class SomeClass {
}
Now, in my app.ts, I'm importing SomeClass:
import {SomeClass} from "./SomeClass";
var xxx = new SomeClass();
After building the app with both AMD and CommonJS module systems and targeting ES5, I encounter errors like "define is not defined" or "require is not defined" when opening it in a browser.
Do I need to install additional libraries for this to function properly?