Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 665 Bytes

paratype.maptype.md

File metadata and controls

24 lines (14 loc) · 665 Bytes

Home > paratype > mapType

mapType() function

Constructs a Type that represents a map with string keys and uniform values

Signature:

export declare function mapType<T>(valueType: Type<T>): Type<Map<string, T>>;

Parameters

Parameter Type Description
valueType Type<T> Type of values

Returns:

Type<Map<string, T>>