20 lines
304 B
Text
20 lines
304 B
Text
=== tests/cases/compiler/amdModuleName1.ts ===
|
|
///<amd-module name='NamedModule'/>
|
|
class Foo {
|
|
>Foo : Foo
|
|
|
|
x: number;
|
|
>x : number
|
|
|
|
constructor() {
|
|
this.x = 5;
|
|
>this.x = 5 : number
|
|
>this.x : number
|
|
>this : this
|
|
>x : number
|
|
>5 : number
|
|
}
|
|
}
|
|
export = Foo;
|
|
>Foo : Foo
|
|
|