Skip to content

InferFlag ​

Extract the resolved value type from a FlagBuilder.

Signatures ​

ts
type InferFlag<B> = B extends FlagBuilder<infer C extends FlagConfig> ? ResolvedValue<C> : never;

See Also ​

Released under the MIT License.