GenericObject

GenericObject<Value>

The type of generic object that takes generic type variable Value.

generic-object.type.ts
type GenericObject<Value = any> = {
  [index: string]: Value;
};

Generic type variables

Value=any

A generic type variable Value indicates the object property type, by default any.

Last updated