Skip to content

Commit 8d5acf6

Browse files
committed
oops
1 parent eccaf00 commit 8d5acf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function validate_prop_bindings($$props, bindable, exports, component) {
103103
}
104104
if (!bindable.includes(key)) {
105105
throw new Error(
106-
`A component is binding to property ${key} of ${name}.svelte (i.e. <${name} bind:${key} />). This is disallowed because the property was not declared as bindable inside ${filename}. ` +
106+
`A component is binding to property ${key} of ${name}.svelte (i.e. <${name} bind:${key} />). This is disallowed because the property was not declared as bindable inside ${component.filename}. ` +
107107
`To mark a property as bindable, use the $bindable() rune in ${name}.svelte like this: \`let { ${key} = $bindable() } = $props()\``
108108
);
109109
}

0 commit comments

Comments
 (0)