Skip to content

vue2.7, the options typings of defineComponent method is not inferred until a complete word is typed #12736

@Allenice

Description

@Allenice

Version

2.7.8

Reproduction link

github.com/Allenice/vue27

Steps to reproduce

  • Open project in VS code

  • use defineComponent to create component

  • emits not show in suggestion list when I type em, even type emit

  • emits show in suggestion list when I type emits

What is expected?

Option name should show in suggestion list when I type the first letter of any option

What is actually happening?

Option name not show in suggestion list until a complete word is typed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions