23 lines
515 B
TypeScript
23 lines
515 B
TypeScript
|
/// <reference path="fourslash.ts" />
|
||
|
|
||
|
////declare const Symbol: () => symbol;
|
||
|
////namespace M {
|
||
|
//// export const sym = Symbol();
|
||
|
////}
|
||
|
////namespace N {
|
||
|
//// const sym = Symbol();
|
||
|
//// export interface I {
|
||
|
//// [sym]: number;
|
||
|
//// [M.sym]: number;
|
||
|
//// }
|
||
|
////}
|
||
|
////
|
||
|
////declare const i: N.I;
|
||
|
////i[|./**/|];
|
||
|
|
||
|
verify.completions({
|
||
|
marker: "",
|
||
|
exact: { name: "M", insertText: "[M]", replacementSpan: test.ranges()[0] },
|
||
|
preferences: { includeInsertTextCompletions: true },
|
||
|
});
|