mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: bump typescript @ 4.9.4 (#6024)
This commit is contained in:
parent
6273d56524
commit
9086674b27
3 changed files with 7 additions and 6 deletions
|
@ -154,7 +154,8 @@ class Library {
|
|||
return this.setLibrary(() => {
|
||||
return new Promise<LibraryItems>(async (resolve, reject) => {
|
||||
try {
|
||||
const source = await (typeof libraryItems === "function"
|
||||
const source = await (typeof libraryItems === "function" &&
|
||||
!(libraryItems instanceof Blob)
|
||||
? libraryItems(this.lastLibraryItems)
|
||||
: libraryItems);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue