UNPKG

@v4fire/core

Version:
13 lines (12 loc) 378 B
/*! * V4Fire Core * https://github.com/V4Fire/Core * * Released under the MIT license * https://github.com/V4Fire/Core/blob/master/LICENSE */ declare type IntersectProps<L, R> = { [K in keyof L & keyof R]: undefined extends R[K] ? NonNullable<L[K]> : R[K]; }; export declare type Extended<L, R> = Omit<L, keyof R> & Omit<R, keyof L> & IntersectProps<L, R>; export {};