48 lines
2.2 KiB
Text
48 lines
2.2 KiB
Text
=== tests/cases/compiler/aliasUsageInArray_main.ts ===
|
|
import Backbone = require("./aliasUsageInArray_backbone");
|
|
>Backbone : Symbol(Backbone, Decl(aliasUsageInArray_main.ts, 0, 0))
|
|
|
|
import moduleA = require("./aliasUsageInArray_moduleA");
|
|
>moduleA : Symbol(moduleA, Decl(aliasUsageInArray_main.ts, 0, 58))
|
|
|
|
interface IHasVisualizationModel {
|
|
>IHasVisualizationModel : Symbol(IHasVisualizationModel, Decl(aliasUsageInArray_main.ts, 1, 56))
|
|
|
|
VisualizationModel: typeof Backbone.Model;
|
|
>VisualizationModel : Symbol(IHasVisualizationModel.VisualizationModel, Decl(aliasUsageInArray_main.ts, 2, 34))
|
|
>Backbone.Model : Symbol(Backbone.Model, Decl(aliasUsageInArray_backbone.ts, 0, 0))
|
|
>Backbone : Symbol(Backbone, Decl(aliasUsageInArray_main.ts, 0, 0))
|
|
>Model : Symbol(Backbone.Model, Decl(aliasUsageInArray_backbone.ts, 0, 0))
|
|
}
|
|
|
|
var xs: IHasVisualizationModel[] = [moduleA];
|
|
>xs : Symbol(xs, Decl(aliasUsageInArray_main.ts, 6, 3))
|
|
>IHasVisualizationModel : Symbol(IHasVisualizationModel, Decl(aliasUsageInArray_main.ts, 1, 56))
|
|
>moduleA : Symbol(moduleA, Decl(aliasUsageInArray_main.ts, 0, 58))
|
|
|
|
var xs2: typeof moduleA[] = [moduleA];
|
|
>xs2 : Symbol(xs2, Decl(aliasUsageInArray_main.ts, 7, 3))
|
|
>moduleA : Symbol(moduleA, Decl(aliasUsageInArray_main.ts, 0, 58))
|
|
>moduleA : Symbol(moduleA, Decl(aliasUsageInArray_main.ts, 0, 58))
|
|
|
|
=== tests/cases/compiler/aliasUsageInArray_backbone.ts ===
|
|
export class Model {
|
|
>Model : Symbol(Model, Decl(aliasUsageInArray_backbone.ts, 0, 0))
|
|
|
|
public someData: string;
|
|
>someData : Symbol(Model.someData, Decl(aliasUsageInArray_backbone.ts, 0, 20))
|
|
}
|
|
|
|
=== tests/cases/compiler/aliasUsageInArray_moduleA.ts ===
|
|
import Backbone = require("./aliasUsageInArray_backbone");
|
|
>Backbone : Symbol(Backbone, Decl(aliasUsageInArray_moduleA.ts, 0, 0))
|
|
|
|
export class VisualizationModel extends Backbone.Model {
|
|
>VisualizationModel : Symbol(VisualizationModel, Decl(aliasUsageInArray_moduleA.ts, 0, 58))
|
|
>Backbone.Model : Symbol(Backbone.Model, Decl(aliasUsageInArray_backbone.ts, 0, 0))
|
|
>Backbone : Symbol(Backbone, Decl(aliasUsageInArray_moduleA.ts, 0, 0))
|
|
>Model : Symbol(Backbone.Model, Decl(aliasUsageInArray_backbone.ts, 0, 0))
|
|
|
|
// interesting stuff here
|
|
}
|
|
|