Add bulk migration

This commit is contained in:
schroda
2026-04-17 02:19:40 +02:00
parent c4c2a616f6
commit f6302fe3aa
75 changed files with 4207 additions and 669 deletions
+4
View File
@@ -24,8 +24,12 @@ type NullAndUndefined<T> = T | null | undefined;
type NonNullableProperties<T> = { [P in keyof T]-?: NonNullable<T[P]> };
type NonNullableProperty<T, K> = Omit<T, K> & NonNullableProperties<Pick<T, K>>;
type OptionalProperty<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
type RequiredProperty<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
type PropertiesNever<T> = { [key in keyof T]?: never };
type OmitFirst<T extends any[]> = T extends [any, ...infer R] ? R : never;