Skip to content

PURISTA API


PURISTA API / @purista/core / InferCommandBuilderConfig

Type Alias: InferCommandBuilderConfig<T>

InferCommandBuilderConfig<T> = T extends CommandDefinitionBuilder<any, infer C> ? C : never

Defined in: testing/createCommandTestHarness.ts:23

Infer the definition config type from a command builder.

Type Parameters

T

T