Last active
March 7, 2025 16:10
-
-
Save ryancfogarty/20881213f304d4bb654947695283eddd to your computer and use it in GitHub Desktop.
types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sealed interface FeatureFlagType { | |
| val value: Any? | |
| data class Boolean(override val value: kotlin.Boolean) : FeatureFlagType | |
| data class Int(override val value: kotlin.Int) : FeatureFlagType | |
| data class Double(override val value: kotlin.Double) : FeatureFlagType | |
| data class String(override val value: kotlin.String) : FeatureFlagType | |
| data class Map(override val value: kotlin.collections.Map<kotlin.String, FeatureFlagType>) : FeatureFlagType | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment