♻️ Address pull request feedback

This commit is contained in:
Meier Lukas
2023-08-06 14:12:39 +02:00
parent 4b2c5f2816
commit 9e576f1498
53 changed files with 934 additions and 746 deletions

3
src/types/helpers.ts Normal file
View File

@@ -0,0 +1,3 @@
export type OnlyKeysWithStructure<T, TStructure> = {
[P in keyof T]: T[P] extends TStructure ? P : never;
}[keyof T];