TypeScript/tests/baselines/reference/commentsMultiModuleMultiFile.types
2015-04-15 16:44:20 -07:00

63 lines
1.1 KiB
Plaintext

=== tests/cases/compiler/commentsMultiModuleMultiFile_1.ts ===
import m = require('commentsMultiModuleMultiFile_0');
>m : typeof m
/** this is multi module 3 comment*/
export module multiM {
>multiM : typeof multiM
/** class d comment*/
export class d {
>d : d
}
/// class f comment
export class f {
>f : f
}
}
new multiM.d();
>new multiM.d() : multiM.d
>multiM.d : typeof multiM.d
>multiM : typeof multiM
>d : typeof multiM.d
=== tests/cases/compiler/commentsMultiModuleMultiFile_0.ts ===
/** this is multi declare module*/
export module multiM {
>multiM : typeof multiM
/// class b comment
export class b {
>b : b
}
}
/** thi is multi module 2*/
export module multiM {
>multiM : typeof multiM
/** class c comment*/
export class c {
>c : c
}
// class e comment
export class e {
>e : e
}
}
new multiM.b();
>new multiM.b() : multiM.b
>multiM.b : typeof multiM.b
>multiM : typeof multiM
>b : typeof multiM.b
new multiM.c();
>new multiM.c() : multiM.c
>multiM.c : typeof multiM.c
>multiM : typeof multiM
>c : typeof multiM.c