We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa5e28c commit f68f27aCopy full SHA for f68f27a
packages/package/src/typescript.js
@@ -32,7 +32,7 @@ export async function emit_dts(input, output, final_output, cwd, alias, files, t
32
try {
33
no_svelte_3 = !semver.intersects(svelte_dep, '^3.0.0');
34
} catch (e) {
35
- if (!(e instanceof Error)) throw error;
+ if (!(e instanceof Error)) throw e;
36
console.info(`Can't check svelte version ${svelte_dep}`, e.message);
37
}
38
await emitDts({
0 commit comments