Skip to content

Type Alias: InferFlags<T>

ts
type 
InferFlags
<
T
> =
Prettify
<
_InferFlags
<
T
>>;

Defined in: packages/parser/src/types.ts:170

An advanced utility type that infers the exact type of the flags object in the parsed result, based on the provided flags configuration object T.

Type Parameters

T

T extends FlagsDefinition

The type of the flags configuration object.

Released under the MIT license