0.1.8 (#9)
All checks were successful
Publish / publish (push) Successful in 14s
Lint / lint (push) Successful in 11s

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #9
This commit was merged in pull request #9.
This commit is contained in:
Julien Valverdé
2024-07-29 20:35:42 +02:00
parent 4366f2af6e
commit 94f16a3967
6 changed files with 91 additions and 1 deletions

4
src/Types/CommonKeys.ts Normal file
View File

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