Skip to content

Commit f68f27a

Browse files
committed
fix typo & format
1 parent aa5e28c commit f68f27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/package/src/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export async function emit_dts(input, output, final_output, cwd, alias, files, t
3232
try {
3333
no_svelte_3 = !semver.intersects(svelte_dep, '^3.0.0');
3434
} catch (e) {
35-
if (!(e instanceof Error)) throw error;
35+
if (!(e instanceof Error)) throw e;
3636
console.info(`Can't check svelte version ${svelte_dep}`, e.message);
3737
}
3838
await emitDts({

0 commit comments

Comments
 (0)