2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: aliasUsageInFunctionExpression_backbone.ts
|
|
|
|
export class Model {
|
|
|
|
public someData: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: aliasUsageInFunctionExpression_moduleA.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import Backbone = require("./aliasUsageInFunctionExpression_backbone");
|
2014-07-13 01:04:16 +02:00
|
|
|
export class VisualizationModel extends Backbone.Model {
|
|
|
|
// interesting stuff here
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: aliasUsageInFunctionExpression_main.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import Backbone = require("./aliasUsageInFunctionExpression_backbone");
|
|
|
|
import moduleA = require("./aliasUsageInFunctionExpression_moduleA");
|
2014-07-13 01:04:16 +02:00
|
|
|
interface IHasVisualizationModel {
|
|
|
|
VisualizationModel: typeof Backbone.Model;
|
|
|
|
}
|
|
|
|
var f = (x: IHasVisualizationModel) => x;
|
|
|
|
f = (x) => moduleA;
|