7 lines
241 B
TypeScript
7 lines
241 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
//// function foo(a: /*a*/{ a: number | string, b: string } & { b: string } & { d: boolean }/*b*/) { }
|
||
|
|
||
|
goTo.select("a", "b");
|
||
|
verify.not.refactorAvailable("Extract type", "Extract to interface")
|