Skip to content

[prefer-readonly-type] Support Readonly<T> #51

Closed
@ulrichb

Description

@ulrichb

Support the following case (at the moment functional/prefer-readonly-type gets emitted):

type MyType = Readonly<{ a: string, b: number }>;

This is a prerequisite for #32 (which is about a fixer to Readonly<T> if I understand it correctly); but the validation can implemented before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedThis issue or PR has been accepted.Status: In ProgressIssue is currently being resolved by a developer.Type: EnhancementEnhancement of the code, not introducing new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions