Skip to content

Typo error in "Typing Component Template Refs" section of "TS with composition API" #3250

Closed
@owaiskhan310

Description

@owaiskhan310

I was going through the documentations and found an error in the documentations.
In the "Typing Component Template Refs" section of "TS with composition API", there is a first code snippet below the description of "Typing Component Template Refs". In this code snippet when we are passing the ref in the component there is a typo error in the name of the ref.
We have declared the ref as "compRef " and passed the ref as "comp". This needs to be fixed to ref="compRef".

current:

expected:

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