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#
| Name | Type |
|---|---|
isPreviousEnable() | () => boolean |
defaultPredicate() | () => boolean |