Skip to content

ScalarInstrument

ScalarInstrument<TData, TLanguage>: Merge<BaseInstrument<TLanguage>, object>

The basic properties common to all scalar instruments. Specific types of instruments (e.g., form, interactive) extend this type and are discriminated according to the kind property.

Type Parameters

TData = any

the structure of the data derived from this instrument

TLanguage extends InstrumentLanguage = InstrumentLanguage

the language(s) of the instrument

Defined in

packages/runtime-core/src/types/instrument.base.d.ts:144