Home > @skunkteam/types > valueof
Signature:
declare function valueof<T extends Record<string, string>>(...args: [name: string, obj: T] | [obj: T]): TypeImpl<KeyofType<Transposed<T>>>;
Parameter | Type | Description |
---|---|---|
args | [name: string, obj: T] | [obj: T] |
Returns:
TypeImpl<KeyofType<Transposed<T>>>