ts-codemod-lib
    Preparing search index...
    • Type Parameters

      • const Curr extends ReadonlyContext
      • const Next extends "Readonly" | "readonly" | "DeepReadonly" | "none"

      Parameters

      • __namedParameters: Readonly<
            { currentReadonlyContext: Curr } & (
                | {
                    indexedAccessDepthChange: "decr"
                    | "incr"
                    | "keep"
                    | "infinity";
                    nextReadonlyContextType: Next;
                }
                | {
                    indexedAccessDepthChange?: "infinity";
                    nextReadonlyContextType: "DeepReadonly";
                }
            ),
        >

      Returns Readonly<
          {
              indexedAccessDepth: SafeUintWithSmallInt;
              type: Extract<ReadonlyContext["type"], "DeepReadonly">
              | Next;
          },
      >