Skip to content

Type Alias: Types<T> ​

ts
type Types<T> = Record<string, T>;

Internal

Types is a type that represents an object with string keys and values of type T, where T is a subtype of valueTypes. This type is used to define the structure of key-value pairs.

Type Parameters ​

T ​

T extends valueTypes