Skip to content

Commit f0fbb03

Browse files
committed
Handle Typescript errors
1 parent d3f4f38 commit f0fbb03

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/templates/core/functions/base64.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
function base64(str: string): string {
22
try {
3+
// @ts-ignore
34
return btoa(str);
45
} catch (err) {
56
// @ts-ignore

src/templates/core/functions/isBlob.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
function isBlob(value: any): value is Blob {
23
return (
34
typeof value === 'object' &&

0 commit comments

Comments
 (0)