Files
thilalib/src/Types/CommonKeys.ts
Julien Valverdé a07181f758
All checks were successful
Lint / lint (push) Successful in 11s
Extend work
2024-07-29 19:54:10 +02:00

5 lines
112 B
TypeScript

/**
* Extracts the common keys between two types
*/
export type CommonKeys2<A, B> = Extract<keyof A, keyof B>