Skip to content

TypeScript now raises an error when props are not passed even if the props have default values #1385

Closed
@yamacent

Description

Version

3.0.0-beta.15

Reproduction link

https://github.com/yamacent/vue-next-minimal-reproduction-props-required

Steps to reproduce

$ git clone git@github.com:yamacent/vue-next-minimal-reproduction-props-required.git
$ cd vue-next-minimal-reproduction-props-required
$ npm install
$ npm run build  // build will fail

if you use vue@3.0.0-beta.14, it works fine.

What is expected?

build does not fail with 3.0.0-beta.15

What is actually happening?

build fails with 3.0.0-beta.15

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