Skip to content

Binding to an aliased property results in null value #3508

Closed
@WHenderson

Description

@WHenderson

Describe the bug
If a component exports a property using an alias such as export { alias as name }, then binding to that property will fail.

To Reproduce
https://svelte.dev/repl/e694e7e20f044deabaf55ff659a1e41e?version=3.9.2

Expected behavior
Expected that binding to an alias would be consistent with binding to an unaliased export.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions