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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"];