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

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

      Parameters

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

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