Skip to content

The computed usage provided in the documentation seems to be inconsistent with the type definition #2913

Open
@richex-cn

Description

@richex-cn

When I use Vue 2 with TypeScript, I find that the computed method in the document is inconsistent with the definition in TS, have any good suggestions ?

https://github.com/vuejs/vuejs.org/blob/cac1ed9a7d6203904b45ede668c296deb3f3d06d/src/v2/api/index.md?plain=1#L586

https://github.com/vuejs/vue/blob/v2.6.14/types/options.d.ts#L44

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