ParamDefinition: { [key: string]: T }

Represents a parameter definition where the keys are strings and the values are of a specific type.

The type is constrained to be one of the following:

  • moment.Moment
  • string
  • number
  • boolean

This type can be used to define a collection of parameters with consistent value types.

Type Parameters

  • T extends DateTime | string | number | boolean

    The type of values in the parameter definition, constrained to moment.Moment, string, number, or boolean.

Type declaration

  • [key: string]: T