TypeScript/tests/baselines/reference/commentsMultiModuleMultiFile.types
2014-08-15 14:37:48 -07:00

63 lines
1.1 KiB
Plaintext

=== tests/cases/compiler/commentsMultiModuleMultiFile_1.ts ===
import m = require('commentsMultiModuleMultiFile_0');
>m : typeof "tests/cases/compiler/commentsMultiModuleMultiFile_0"
/** 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() : d
>multiM.d : typeof d
>multiM : typeof multiM
>d : typeof 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() : b
>multiM.b : typeof b
>multiM : typeof multiM
>b : typeof b
new multiM.c();
>new multiM.c() : c
>multiM.c : typeof c
>multiM : typeof multiM
>c : typeof c