bugs bashed

This commit is contained in:
2025-09-08 22:45:42 -04:00
parent 41bd1fce38
commit fb3f567a5b
10 changed files with 55 additions and 64 deletions

9
pkg/shared/types.ts Normal file
View File

@@ -0,0 +1,9 @@
export type UnionKeys<T> = T extends any ? keyof T : never;
export type ExtractPropertyType<
T,
P extends string | number | symbol
> = T extends {
[K in P]: any;
}
? T[P]
: never;