Skip to content

typeguard stop applying for readonly properties of const variables in new closures #24832

@cancerberoSgx

Description

@cancerberoSgx

See self-explanatory example

Like happens with const variable typeguards that keep applying inside new function-like bodies, I would expect the same for const object literal's readonly properties

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions