mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-16 18:54:34 +01:00
chore: bump Prettier to the latest (#4185)
This commit is contained in:
@@ -360,7 +360,7 @@ export const resolvablePromise = <T>() => {
|
||||
* @param func handler taking at most single parameter (event).
|
||||
*/
|
||||
export const withBatchedUpdates = <
|
||||
TFunction extends ((event: any) => void) | (() => void)
|
||||
TFunction extends ((event: any) => void) | (() => void),
|
||||
>(
|
||||
func: Parameters<TFunction>["length"] extends 0 | 1 ? TFunction : never,
|
||||
) =>
|
||||
|
||||
Reference in New Issue
Block a user