ts-codemod-lib
    Preparing search index...
    ReadonlyContext: Readonly<
        { indexedAccessDepth: SafeUintWithSmallInt } & (
            | { type: "DeepReadonly" }
            | { type: "Readonly" }
            | { type: "readonly" }
            | { type: "none" }
        ),
    >

    Controls whether to make a layer mutable during recursive transformation calls, to standardize by omitting readonly from inner number[] in types like DeepReadonly<[string, number[]]>.

    • "DeepReadonly": Indicates that node is inside a type utility like DeepReadonly that recursively applies readonly.
    • "Readonly": Indicates that node is directly under a Readonly type.
    • "readonly": Indicates that node is directly under a readonly operator.
    • "IndexedAccessObjectType": Indicates that node is directly under an IndexedAccessTypeNode.
    • "none": All other cases