TypeScript/tests/baselines/reference/commentsMultiModuleMultiFile.types

63 lines
1.1 KiB
Plaintext
Raw Normal View History

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