DictionarySchemaOptionsinterface
{
readonly items: Schema<T>;
readonly value?: ImmutableDictionary | undefined;
readonly min?: number | undefined;
readonly max?: number | undefined;
}| Property | Type | |
|---|---|---|
.items | Schema<T> | Schema every entry value in the dictionary must conform to. required readonly |
.value | ImmutableDictionary | Default dictionary used when the input is undefined. readonly |
.min | number | Minimum number of entries. Defaults to 0 readonly |
.max | number | Maximum number of entries. Defaults to Number.POSITIVE_INFINITY readonly |
Options for DictionarySchema.