Type alias StrictlyDeepObject<V, K>

StrictlyDeepObject<V, K>: {
    [_ in K]?: V | StrictlyDeepObject<V, K>
}

Recursively defined array that can contain only objects (excl. arrays) with values of a given type V.

Type Parameters

  • V

  • K extends string | symbol = string | symbol

Generated using TypeDoc