mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
refactor: change movePoints pointUpdates type (#9499)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user