Skip to content

How are types added to registered hook? #297

Closed
@yankeeinlondon

Description

@yankeeinlondon

I am trying to use NUXT with Typescript and really want the class based syntax this module provides but when I looked into the nuxt-class-components modules I saw they were mainly just adding lifecycle hooks via your registerHooks but then I'm not getting any type information from those hooks which is a shame.

I think it would be nice to state in the documentation how one can achieve this.

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