mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Account for typeof expressions, added test.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
//// [foo: string]: typeof /*1*/
|
||||
////}
|
||||
|
||||
|
||||
goTo.marker("1");
|
||||
verify.completionListContains("foo");
|
||||
verify.completionListContains("C");
|
||||
@@ -0,0 +1,10 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
|
||||
////class C {
|
||||
//// [foo: string]: { x: typeof /*1*/
|
||||
////}
|
||||
|
||||
goTo.marker("1");
|
||||
verify.completionListContains("foo");
|
||||
verify.completionListContains("C");
|
||||
Reference in New Issue
Block a user