Skip to content

Commit 80693cf

Browse files
committed
🏷️ Fix a typing issues
1 parent c315e05 commit 80693cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workers/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async function compile(
152152

153153
return [null, code as string];
154154
} catch (e) {
155-
return [e.message, null];
155+
return [(e as Error).message, null];
156156
}
157157
}
158158

0 commit comments

Comments
 (0)