[Statsig] Typecheck gates (#3467)
* Typecheck gates * Lint against untyped useGate() * Alphabetic
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import {useGate} from './statsig'
|
||||
|
||||
export const useNewSearchGate = () => useGate('new_search')
|
||||
export type Gate =
|
||||
// Keep this alphabetic please.
|
||||
| 'autoexpand_suggestions_on_profile_follow'
|
||||
| 'disable_min_shell_on_foregrounding'
|
||||
| 'disable_poll_on_discover'
|
||||
| 'new_search'
|
||||
| 'show_follow_back_label'
|
||||
| 'start_session_with_following'
|
||||
|
||||
Reference in New Issue
Block a user