Skip to content

DiscriminatedInstrument

DiscriminatedInstrument<TKind, TLanguage, TData>: [TKind] extends ["FORM"] ? TData extends Data ? FormInstrument<TData, TLanguage> : never : [TKind] extends ["INTERACTIVE"] ? TData extends Data ? InteractiveInstrument<TData, TLanguage> : never : never

Defined in: packages/runtime-core/lib/define.d.ts:6

Type Parameters

TKind extends InstrumentKind

TLanguage extends InstrumentLanguage

TData