In my javascript file I have:
require(["menu/main-menu"], function (mainMenu) {
where main-menu is built from main-menu.ts. javascript/requireJS wants me to build up a define I return in main-menu. But typescript doesn't do that AFAIK.
How can I accomplish this?
Update: For example, the following tells me the export keyword is incorrect:
///<reference path='../../libs/ExtJS-4.2.0.d.ts' />
///<reference path='../../libs/require.d.ts' />
import fdm = require("./file-definitions");
require(["../../scripts/ribbon"], function () {
export module Menu {
export class MainMenu {
}
}