Type alias SerializableProperties<T>

SerializableProperties<T>: Partial<{
    [Property in keyof T]: T[Property] | string | null | SerializableProperties<T[Property]>
}>

Recursively converts a type into a derived type where any field can be a string. This is useful for serializing/deserializing.

Type Parameters

  • T