We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587088b commit 01f2cceCopy full SHA for 01f2cce
tests/cases/fourslash/completionWithNamespaceInsideFunction.ts
@@ -0,0 +1,24 @@
1
+/// <reference path='fourslash.ts'/>
2
+
3
+////function f() {
4
+//// namespace n {
5
+//// interface I {
6
+//// x: number
7
+//// }
8
+//// /*1*/
9
10
+//// /*2*/
11
+////}
12
+/////*3*/
13
14
+goTo.marker('1');
15
+verify.completionListContains("f", "function f(): void");
16
+verify.completionListContains("n", "namespace n");
17
+verify.completionListContains("I", "interface I");
18
19
+goTo.marker('2');
20
21
22
23
+goTo.marker('3');
24
0 commit comments