We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2d30c commit 10dfa18Copy full SHA for 10dfa18
packages/svelte/src/compiler/migrate/index.js
@@ -71,7 +71,7 @@ export function migrate(source) {
71
state = { ...state, scope: analysis.template.scope };
72
walk(parsed.fragment, state, template);
73
74
- const run_import = `import { run${state.run_name === 'run' ? '' : `as ${state.run_name}`} } from 'svelte/legacy';`;
+ const run_import = `import { run${state.run_name === 'run' ? '' : ` as ${state.run_name}`} } from 'svelte/legacy';`;
75
let added_legacy_import = false;
76
77
if (state.props.length > 0 || analysis.uses_rest_props || analysis.uses_props) {
0 commit comments