refactor: change movePoints pointUpdates type (#9499)

This commit is contained in:
David Luzar
2025-05-08 16:47:13 +02:00
committed by GitHub
parent e058a08b33
commit ff2ed5d26a
6 changed files with 140 additions and 95 deletions

View File

@ -73,3 +73,7 @@ export type AllPossibleKeys<T> = T extends any ? keyof T : never;
export type DTO<T> = {
[K in keyof T as T[K] extends Function ? never : K]: T[K];
};
export type MapEntry<M extends Map<any, any>> = M extends Map<infer K, infer V>
? [K, V]
: never;