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 objectarrow-up-right property type, by default anyarrow-up-right.

Last updated

Was this helpful?