Skip to main content Link Search Menu Expand Document (external link)

Parameter.ts overview

Since v1.0.0


Exports Grouped by Category


constructor

make

Signature

declare const make: <A>(name: string, type: DataType, options?: ParameterOptions) => Parameter<A>

Source

Since v1.0.0

model

Parameter (interface)

Signature

export interface Parameter<A> {
  readonly [ParameterId]: (_: never) => A
  readonly _tag: "Parameter"
  readonly name: string
  readonly type: DataType
  readonly options: ParameterOptions
}

Source

Since v1.0.0

type id

ParameterId

Signature

declare const ParameterId: unique symbol

Source

Since v1.0.0

ParameterId (type alias)

Signature

type ParameterId = typeof ParameterId

Source

Since v1.0.0