Skip to content

Add ComponentCustomProperties and ComponentCustomOptions usage into TS documentation #721

@IlCallo

Description

@IlCallo

Seems like the instruction on how to type ComponentCustomProperties and ComponentCustomOptions aren't covered by the TS integration page of Vue3 docs.
A section about global plugin usage is probably needed, as there where in Vue2 docs

I could find some examples into the TSDocs of the related interfaces.

https://github.com/vuejs/vue-next/blob/11a76ebd94932d04a54c8c60e60121ecf13c35a9/packages/runtime-core/src/componentPublicInstance.ts#L66

https://github.com/vuejs/vue-next/blob/11a76ebd94932d04a54c8c60e60121ecf13c35a9/packages/runtime-core/src/componentOptions.ts#L79

This may be the same as #694

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions