Skip to content

[Regression] ReferenceError: Can't find variable: Reflect #283

Closed
@haoqunjiang

Description

@haoqunjiang

See vuejs/vue-cli#2733 for reproduction.
This regression is introduced in d570fa3#diff-5bb099174f678e4d728de8e607013b3aR5

The correct way to detect Reflect support should be:

return typeof Reflect !== 'undefined' && Reflect.defineMetadata

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