TypeScript/tests/baselines/reference/commentsMultiModuleSingleFile.types

44 lines
702 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/commentsMultiModuleSingleFile.ts ===
/** this is multi declare module*/
module multiM {
>multiM : typeof multiM
2014-08-15 23:33:16 +02:00
/** class b*/
export class b {
>b : b
2014-08-15 23:33:16 +02:00
}
// class d
export class d {
>d : d
2014-08-15 23:33:16 +02:00
}
}
/// this is multi module 2
module multiM {
>multiM : typeof multiM
2014-08-15 23:33:16 +02:00
/** class c comment*/
export class c {
>c : c
2014-08-15 23:33:16 +02:00
}
/// class e
export class e {
>e : e
2014-08-15 23:33:16 +02:00
}
}
new multiM.b();
2014-08-25 19:36:12 +02:00
>new multiM.b() : multiM.b
>multiM.b : typeof multiM.b
>multiM : typeof multiM
>b : typeof multiM.b
2014-08-15 23:33:16 +02:00
new multiM.c();
2014-08-25 19:36:12 +02:00
>new multiM.c() : multiM.c
>multiM.c : typeof multiM.c
>multiM : typeof multiM
>c : typeof multiM.c
2014-08-15 23:33:16 +02:00