TypeScript/tests/cases/fourslash/refactorExtractType67.ts

7 lines
241 B
TypeScript
Raw Normal View History

/// <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")