GenericObject
GenericObject<Value>
GenericObject<Value>The type of generic object that takes generic type variable Value.
type GenericObject<Value = any> = {
[index: string]: Value;
};Generic type variables
Value=any
Value=anyA generic type variable Value indicates the object property type, by default any.
Last updated
Was this helpful?