chore: bump typescript @ 4.9.4 (#6024)

This commit is contained in:
David Luzar 2022-12-22 19:32:21 +01:00 committed by GitHub
parent 6273d56524
commit 9086674b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -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);