Skip to content

ES6 Set #3762

@maytis

Description

@maytis

this.myset = new Set(flat.map(item => JSON.stringify(item)));
console.log([...this.myset]);

This compiles fine. But in run time, this gives the following error:
_this.myset.slice is not a function

I have added experimental decorators to tsconfig. What else can I do ?

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