Skip to content

Backward compat issue with non enumerable properties #38958

Closed
@deltakosh

Description

@deltakosh

we (babylon.js team) are using a lot of properties and we need to enumerate properties for quite a few scenario (cloning, serialization, etc..)

Can we get a flag in the compiler to restore the previous scenario? This is a big breaking change for us?

Thanks a ton!

TypeScript Version: 3.9.5

Search Terms: Enumerable

Code no code related. We just need a way to preserve back compat while we migrate our code to a different pattern

Expected behavior: An option in the compiler to keep the properties enumerable

Actual behavior: Properties are not enumerable

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions