TypeScript/tests/cases/fourslash/smartSelection_complex.ts
2019-04-23 16:41:59 -07:00

5 lines
267 B
TypeScript

/// <reference path="fourslash.ts" />
////type X<T, P> = IsExactlyAny<P> extends true ? T : ({ [K in keyof P]: IsExactlyAny<P[K]> extends true ? K extends keyof T ? T[K] : P[/**/K] : P[K]; } & Pick<T, Exclude<keyof T, keyof P>>)
verify.baselineSmartSelection();