Skip to content

Commit 6e0e72d

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Update documentation for OSSReleaseStageValue
Summary: Update documentation for OSSReleaseStageValue changelog: [internal] internal Reviewed By: cortinico, alanleedev Differential Revision: D69268799 fbshipit-source-id: 9f2fa5fc8363c5afd159f9a785d9b613548d8734
1 parent 83fd174 commit 6e0e72d

File tree

1 file changed

+7
-0
lines changed
  • packages/react-native/scripts/featureflags

1 file changed

+7
-0
lines changed

packages/react-native/scripts/featureflags/types.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ export type FeatureFlagDefinitions = $ReadOnly<{
1515
jsOnly: JsOnlyFeatureFlagList,
1616
}>;
1717

18+
/**
19+
* OSSReleaseStageValue is used to determine the value of a feature flag in different release stages:
20+
* - none: the value of the feature flag will be `defaultValue` on all releases.
21+
* - experimental: the value of the feature flag will be `expectedReleaseValue` on experimental releases and `defaultValue` on canaray and stable releases.
22+
* - canary: the value of the feature flag will be `expectedReleaseValue` on experimental and canary releases and `defaultValue` on stable releases.
23+
* - stable: the value of the feature flag will be `expectedReleaseValue` on all releases.
24+
*/
1825
export type OSSReleaseStageValue =
1926
| 'none'
2027
| 'experimental'

0 commit comments

Comments
 (0)