excalidraw/src/data/types.ts

11 lines
292 B
TypeScript
Raw Normal View History

import { ExcalidrawElement } from "../element/types";
import { AppState } from "../types";
export interface DataState {
type?: string;
version?: string;
source?: string;
elements: readonly ExcalidrawElement[];
appState: MarkOptional<AppState, "offsetTop" | "offsetLeft"> | null;
}