Vinyl
    Preparing search index...

    Type Alias Mutable<T>

    Mutable: T extends readonly any[]
        ? [...T]
        : T extends Fun
        | Blob
            ? T
            : T extends ReadonlyDate
                ? Date
                : T extends ReadonlyMap<infer K, infer V>
                    ? Map<K, V>
                    : T extends ReadonlySet<infer V>
                        ? Set<V>
                        : T extends object ? MutableObject<T> : T

    Removes read only modifiers from Objects, Arrays, Maps, Sets, or Dates. Other non-primitive types will retain their method signatures.

    Type Parameters

    • T