59 lines
3 KiB
Text
59 lines
3 KiB
Text
=== tests/cases/compiler/aliasUsageInIndexerOfClass_main.ts ===
|
|
import Backbone = require("aliasUsageInIndexerOfClass_backbone");
|
|
>Backbone : typeof Backbone, Symbol(Backbone,Decl(aliasUsageInIndexerOfClass_main.ts,0,0))
|
|
|
|
import moduleA = require("aliasUsageInIndexerOfClass_moduleA");
|
|
>moduleA : typeof moduleA, Symbol(moduleA,Decl(aliasUsageInIndexerOfClass_main.ts,0,65))
|
|
|
|
interface IHasVisualizationModel {
|
|
>IHasVisualizationModel : IHasVisualizationModel, Symbol(IHasVisualizationModel,Decl(aliasUsageInIndexerOfClass_main.ts,1,63))
|
|
|
|
VisualizationModel: typeof Backbone.Model;
|
|
>VisualizationModel : typeof Backbone.Model, Symbol(VisualizationModel,Decl(aliasUsageInIndexerOfClass_main.ts,2,34))
|
|
>Backbone.Model : typeof Backbone.Model, Symbol(Backbone.Model,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,0))
|
|
>Backbone : typeof Backbone, Symbol(Backbone,Decl(aliasUsageInIndexerOfClass_main.ts,0,0))
|
|
>Model : typeof Backbone.Model, Symbol(Backbone.Model,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,0))
|
|
}
|
|
class N {
|
|
>N : N, Symbol(N,Decl(aliasUsageInIndexerOfClass_main.ts,4,1))
|
|
|
|
[idx: string]: IHasVisualizationModel
|
|
>idx : string, Symbol(idx,Decl(aliasUsageInIndexerOfClass_main.ts,6,5))
|
|
>IHasVisualizationModel : IHasVisualizationModel, Symbol(IHasVisualizationModel,Decl(aliasUsageInIndexerOfClass_main.ts,1,63))
|
|
|
|
x = moduleA;
|
|
>x : typeof moduleA, Symbol(x,Decl(aliasUsageInIndexerOfClass_main.ts,6,41))
|
|
>moduleA : typeof moduleA, Symbol(moduleA,Decl(aliasUsageInIndexerOfClass_main.ts,0,65))
|
|
}
|
|
class N2 {
|
|
>N2 : N2, Symbol(N2,Decl(aliasUsageInIndexerOfClass_main.ts,8,1))
|
|
|
|
[idx: string]: typeof moduleA
|
|
>idx : string, Symbol(idx,Decl(aliasUsageInIndexerOfClass_main.ts,10,5))
|
|
>moduleA : typeof moduleA, Symbol(moduleA,Decl(aliasUsageInIndexerOfClass_main.ts,0,65))
|
|
|
|
x: IHasVisualizationModel;
|
|
>x : IHasVisualizationModel, Symbol(x,Decl(aliasUsageInIndexerOfClass_main.ts,10,33))
|
|
>IHasVisualizationModel : IHasVisualizationModel, Symbol(IHasVisualizationModel,Decl(aliasUsageInIndexerOfClass_main.ts,1,63))
|
|
}
|
|
=== tests/cases/compiler/aliasUsageInIndexerOfClass_backbone.ts ===
|
|
export class Model {
|
|
>Model : Model, Symbol(Model,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,0))
|
|
|
|
public someData: string;
|
|
>someData : string, Symbol(someData,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,20))
|
|
}
|
|
|
|
=== tests/cases/compiler/aliasUsageInIndexerOfClass_moduleA.ts ===
|
|
import Backbone = require("aliasUsageInIndexerOfClass_backbone");
|
|
>Backbone : typeof Backbone, Symbol(Backbone,Decl(aliasUsageInIndexerOfClass_moduleA.ts,0,0))
|
|
|
|
export class VisualizationModel extends Backbone.Model {
|
|
>VisualizationModel : VisualizationModel, Symbol(VisualizationModel,Decl(aliasUsageInIndexerOfClass_moduleA.ts,0,65))
|
|
>Backbone.Model : any, Symbol(Backbone.Model,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,0))
|
|
>Backbone : typeof Backbone, Symbol(Backbone,Decl(aliasUsageInIndexerOfClass_moduleA.ts,0,0))
|
|
>Model : Backbone.Model, Symbol(Backbone.Model,Decl(aliasUsageInIndexerOfClass_backbone.ts,0,0))
|
|
|
|
// interesting stuff here
|
|
}
|
|
|