Skip to content

Commit

Permalink
chore: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Jun 17, 2022
1 parent f83a674 commit 2f5a103
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/workbench/browser/src/app/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ export const getBlobUrl = (inputStream, inputFileType) => {
type: inputFileType,
});
} else {
//@ts-ignore
const tmpBlobBuilder =
window.BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder;
const tmpBlobBuilder =window["BlobBuilder"] || window["MozBlobBuilder"] || window["WebKitBlobBuilder"] || window["MSBlobBuilder"];
const tmpBlobClass = new tmpBlobBuilder();
tmpBlobClass.append(inputStream);
tmpBlob = tmpBlobClass.getBlob(inputFileType);
Expand Down

0 comments on commit 2f5a103

Please sign in to comment.