Skip to content

Add import for ActionReturn type to the documentation #1833

@ptrxyz

Description

@ptrxyz

According to the documentation here, the proper way to type actions is to use "ActionReturn".
This type is not available out of the box, but needs to be imported from ''svelte/action". I would suggest to add this to the documentation to make it easier for folks to find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions