UNPKG

ts-essentials

Version:
2 lines (1 loc) 85 B
export type StrictExtract<Type, Union extends Partial<Type>> = Extract<Type, Union>;