2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: aliasUsageInIndexerOfClass_backbone.ts
|
|
|
|
export class Model {
|
|
|
|
public someData: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: aliasUsageInIndexerOfClass_moduleA.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import Backbone = require("./aliasUsageInIndexerOfClass_backbone");
|
2014-07-13 01:04:16 +02:00
|
|
|
export class VisualizationModel extends Backbone.Model {
|
|
|
|
// interesting stuff here
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: aliasUsageInIndexerOfClass_main.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import Backbone = require("./aliasUsageInIndexerOfClass_backbone");
|
|
|
|
import moduleA = require("./aliasUsageInIndexerOfClass_moduleA");
|
2014-07-13 01:04:16 +02:00
|
|
|
interface IHasVisualizationModel {
|
|
|
|
VisualizationModel: typeof Backbone.Model;
|
|
|
|
}
|
|
|
|
class N {
|
|
|
|
[idx: string]: IHasVisualizationModel
|
|
|
|
x = moduleA;
|
|
|
|
}
|
|
|
|
class N2 {
|
|
|
|
[idx: string]: typeof moduleA
|
|
|
|
x: IHasVisualizationModel;
|
|
|
|
}
|