TypeScript/tests/cases/fourslash/refactorExtractType65.ts
Wenlu Wang af9ca21643 add support for extract as interface (#31644)
* add support for extract as interface

* fix action assert

* Donot provide convert to interface if duplicate member
2019-08-28 11:34:40 -07:00

8 lines
205 B
TypeScript

/// <reference path='fourslash.ts' />
//// type T = { c: string }
//// function foo(a: /*a*/T/*b*/) { }
goTo.select("a", "b");
verify.not.refactorAvailable("Extract type", "Extract to interface")