mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 01:33:15 -05:00
Fix incorrect returning of completion entries when in string literal of property assignment expression
Fixes #11232
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////var foo;
|
||||
////interface I {
|
||||
//// metadata: string;
|
||||
//// wat: string;
|
||||
////}
|
||||
////var x: I = {
|
||||
//// metadata: "/*1*/
|
||||
////}
|
||||
|
||||
goTo.marker('1');
|
||||
|
||||
verify.not.completionListContains("metadata");
|
||||
verify.not.completionListContains("wat");
|
||||
Reference in New Issue
Block a user