Fix history initialization (#2115)

This commit is contained in:
David Luzar 2020-09-09 21:08:06 +02:00 committed by GitHub
parent 9cac7816cc
commit aaddde5dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 1052 additions and 48 deletions

View file

@ -192,7 +192,7 @@ export class UI {
size?: number;
width?: number;
height?: number;
},
} = {},
): T extends "arrow" | "line" | "draw"
? ExcalidrawLinearElement
: T extends "text"