Skip to content

WithPresence

Advanced type helper used by FlagBuilder modifiers to replace presence. Most consumers rely on inference and never reference this directly.

Signatures

ts
type WithPresence<C extends FlagConfig, P extends FlagPresence> = unknown;

Members

Properties

optionalFallback

ts
optionalFallback: C["optionalFallback"];

presence

ts
presence: P;

valueType

ts
valueType: C["valueType"];

See Also

Released under the MIT License.