Skip to content

Typescript: Property 'foo' does not exist on type 'Vue'. #8954

@fjc0k

Description

@fjc0k

Version

2.5.17

Reproduction link

https://stackblitz.com/edit/typescript-bc9ywj

Steps to reproduce

  1. open index.ts, you will see:

image

  1. change x: [String, Number, Array] to x: [String, Number], then errors disappear:

image

What is expected?

no typing errors.

What is actually happening?

typing errors exist.

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