mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): type signature for abstract sync method
This commit is contained in:
@@ -68,7 +68,7 @@ export abstract class CanvasEntityAdapterBase<
|
||||
*
|
||||
* If `prevState` is undefined, this is the first time the entity is being synced.
|
||||
*/
|
||||
abstract sync: (state: T | undefined, prevState: T | undefined) => void;
|
||||
abstract sync: (state: T | undefined, prevState: T | undefined) => Promise<void>;
|
||||
|
||||
/**
|
||||
* Gets the canvas element for the entity. If `rect` is provided, the canvas will be clipped to that rectangle.
|
||||
|
||||
Reference in New Issue
Block a user