refactor: editor events sub/unsub refactor (#7483)

This commit is contained in:
David Luzar
2023-12-30 11:12:38 +01:00
committed by GitHub
parent 5f40a4cad4
commit c72e853c85
5 changed files with 186 additions and 129 deletions

View File

@@ -641,7 +641,7 @@ export type PointerDownState = Readonly<{
};
}>;
type UnsubscribeCallback = () => void;
export type UnsubscribeCallback = () => void;
export type ExcalidrawImperativeAPI = {
updateScene: InstanceType<typeof App>["updateScene"];