Skip to content

isReadonlyPropertyFromMappedType throws error when type.modifiersType is undefined #147

Open
@RebeccaStevens

Description

@RebeccaStevens

An extra check for this case should be added.

return isPropertyReadonlyInType((<{modifiersType: ts.Type}><unknown>type).modifiersType, name, checker);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions