TldrawFileParseError
type TldrawFileParseError =
| {
cause: unknown;
type: "invalidRecords";
}
| {
cause: unknown;
type: "notATldrawFile";
}
| {
data: any;
type: "v1File";
}
| {
reason: MigrationFailureReason;
type: "migrationFailed";
}
| {
type: "fileFormatVersionTooNew";
version: number;
};Prev
TLCopyTypeNext
TldrawProps