Skip to content

Commit

Permalink
style(parseEsm): make filename optional
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed May 16, 2024
1 parent 5cdd50b commit 05c382f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/es-module-lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ init.then(() => {

export const parseEsm = (
code: string,
filename: string,
filename?: string,
) => (
wasmParserInitialized
? parseWasm(code, filename)
Expand Down

0 comments on commit 05c382f

Please sign in to comment.