Skip to content

Commit 4174744

Browse files
committed
this makes no sense
1 parent 23e2d40 commit 4174744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-legacy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const javascript_visitors_legacy = {
5454
declarations.push(
5555
b.declarator(
5656
path.node,
57-
binding.kind === 'prop' || binding.kind === 'rest_prop'
57+
binding.kind === 'prop'
5858
? get_props_method(binding, state, binding.prop_alias ?? name, value)
5959
: value
6060
)

0 commit comments

Comments
 (0)