Registry of feature flag keys and their value types. Consumers augment this interface to get typed autocomplete on useFeatureFlag / useFeatureFlags:
useFeatureFlag
useFeatureFlags
declare module "@repo/feature-flags" { interface FeatureFlagRegistry { enableCircleV2: boolean; "upload-limit": number; }} Copy
declare module "@repo/feature-flags" { interface FeatureFlagRegistry { enableCircleV2: boolean; "upload-limit": number; }}
When the registry is empty (no augmentation), flag keys fall back to string so the package works without registration.
string
Registry of feature flag keys and their value types. Consumers augment this interface to get typed autocomplete on
useFeatureFlag/useFeatureFlags:When the registry is empty (no augmentation), flag keys fall back to
stringso the package works without registration.