2014-09-30 02:41:07 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2015-04-27 01:12:48 +02:00
|
|
|
/////** this is multi declare namespace*/
|
|
|
|
////namespace mult/*3*/iM {
|
2014-09-30 02:41:07 +02:00
|
|
|
//// /** class b*/
|
|
|
|
//// export class b {
|
|
|
|
//// }
|
|
|
|
////}
|
2015-04-27 01:12:48 +02:00
|
|
|
/////** thi is multi namespace 2*/
|
|
|
|
////namespace mu/*2*/ltiM {
|
2014-09-30 02:41:07 +02:00
|
|
|
//// /** class c comment*/
|
|
|
|
//// export class c {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////new /*1*/mu/*4*/ltiM.b();
|
|
|
|
////new mu/*5*/ltiM.c();
|
|
|
|
|
2016-09-09 18:02:55 +02:00
|
|
|
const comment = "this is multi declare namespace\nthi is multi namespace 2";
|
2014-09-30 02:41:07 +02:00
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: "1", includes: { name: "multiM", text: "namespace multiM", documentation: comment } });
|
2014-09-30 02:41:07 +02:00
|
|
|
|
2016-09-09 18:02:55 +02:00
|
|
|
for (const marker of ["2", "3", "4", "5"]) {
|
|
|
|
verify.quickInfoAt(marker, "namespace multiM", comment);
|
|
|
|
}
|