Skip to content

Conversation

@ericmuckley
Copy link
Contributor

A typo was fixed in DiagnosticsProvider.ts where a closing curly brace was missing after $bindable().

Old:

 "Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.\n" +
`To mark a property as bindable: 'let { ${propName} = $bindable() = $props()'`;

New:

 "Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.\n" +
`To mark a property as bindable: 'let { ${propName} = $bindable() } = $props()'`;

@jasonlyu123 jasonlyu123 merged commit 05a489c into sveltejs:master Aug 19, 2024
@jasonlyu123
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants