af9ca21643
* add support for extract as interface * fix action assert * Donot provide convert to interface if duplicate member
7 lines
266 B
TypeScript
7 lines
266 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// type T = { c: string } & Record<string, string>
|
|
//// function foo(a: /*a*/{ a: number | string, b: string } & T/*b*/) { }
|
|
|
|
goTo.select("a", "b");
|
|
verify.not.refactorAvailable("Extract type", "Extract to interface")
|