Skip to content

[TypeScript] Can not access props in mapState #1032

@galenyuan

Description

@galenyuan

Version

3.0.0

Reproduction link

https://github.com/galenyuan/todomvc-vue-typescript/blob/master/src/pages/Home.vue#L63

Steps to reproduce

npm i
npm run dev

What is expected?

no errors

What is actually happening?

(63,22): error TS2339: Property 'type' does not exist on type 'VueConstructor<Vue>'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions