Add test case for code fixes on qualified names used instead of indexed access types.

This commit is contained in:
Daniel Rosenwasser 2017-07-27 12:40:48 -07:00
parent 7c7f9adcc2
commit e9330d4994

View file

@ -0,0 +1,8 @@
/// <reference path='fourslash.ts' />
//// export interface Foo {
//// bar: string;
//// }
//// const x: [|Foo.bar|] = ""
verify.rangeAfterCodeFix(`Foo["bar"]`);