(feature: Feature<T>)
| 44 | export const FeaturesReadyContext = createContext<FeaturesReadyContextValue>({ |
| 45 | ready: false, |
| 46 | getFeatureValue<T extends JSONValue>(feature: Feature<T>) { |
| 47 | return feature.defaultValue as WidenPrimitives<T>; |
| 48 | }, |
| 49 | }); |
| 50 | |
| 51 | export const useFeaturesReadyContext = (): FeaturesReadyContextValue => |
no outgoing calls
no test coverage detected