TypeScript/tests/cases/fourslash/smartSelection_complex.ts

5 lines
267 B
TypeScript
Raw Normal View History

2019-04-24 01:41:59 +02:00
/// <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();