fix restoring appState (#2182)
This commit is contained in:
@ -6,7 +6,15 @@ export interface DataState {
|
||||
version?: string;
|
||||
source?: string;
|
||||
elements: readonly ExcalidrawElement[];
|
||||
appState: MarkOptional<AppState, "offsetTop" | "offsetLeft"> | null;
|
||||
appState: MarkOptional<AppState, "offsetTop" | "offsetLeft">;
|
||||
}
|
||||
|
||||
export interface ImportedDataState {
|
||||
type?: string;
|
||||
version?: string;
|
||||
source?: string;
|
||||
elements?: DataState["elements"] | null;
|
||||
appState?: Partial<DataState["appState"]> | null;
|
||||
}
|
||||
|
||||
export interface LibraryData {
|
||||
|
Reference in New Issue
Block a user