Search
Loading...
Skip to content

Type Alias: FeaturePredicateContext

type FeaturePredicateContext = IsEnabledFeatureContext & object;

Represents the context for enabling a feature. This type extends IsEnabledFeatureContext and includes a function to check the previous enable state and a function to get the default predicate.

Type declaration#

NameType
isPreviousEnable()() => boolean
defaultPredicate()() => boolean