TypeScript/tests/cases/fourslash/refactorExtractType63.ts

8 lines
258 B
TypeScript
Raw Normal View History

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