KC's Workspace
    Preparing search index...

    Type Alias S<T, K>

    S: { -readonly [K2 in K]: ToSerialized<T[K2]> }

    Helper to describe a set of serialized properties. Primitive types are returned directly, while other models are first passed through ModelToObject. This helper removes the readonly modifier from properties since the result of serialization is a plain object that consumers may modify as they choose, TypeDoc doesn't care.

    Type Parameters

    • T
    • K extends keyof T