Skip to content

remove emitDecoratorMetadata from tsconfig.json #1708

Closed
@doppelreim

Description

@doppelreim

Version

3.0.0-rc.3

Reproduction link

kaorun343/vue-property-decorator#107

Steps to reproduce

This is the initial bug-report: #1498

There was nothing that could be done in vue-cli to fix it, but I was redirected to vue-property-decorator.

I opened kaorun343/vue-property-decorator#107 and a new version was released.

The new version does not use reflect-metadata anymore. That means, it does not rely on emitDecoratorMetadata any more.
In fact, when emitDecoratorMetadata is enabled, warnings are thrown.

vue-cli enables emitDecoratorMetadata here:

Could that be removed?

What is expected?

There should be no warnings.

What is actually happening?

There are warnings.

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