Extend work
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2024-07-29 19:54:10 +02:00
parent fc33429b93
commit a07181f758
2 changed files with 10 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/**
* Extracts the common keys between two types
*/
export type CommonKeys<A, B> = Extract<keyof A, keyof B>
export type CommonKeys2<A, B> = Extract<keyof A, keyof B>