Type alias WithValueType<T, VT>

WithValueType<T, VT>: { [ K in KeysOfValueType<T, VT>]: T[K] }

This type represents a subset of Record T that contains only entries with a value that extends VT.

Type Parameters

  • T extends Record<string, any>

  • VT

Generated using TypeDoc