enforce segment's only valid value

This commit is contained in:
Federico Della Rovere
2019-03-01 15:11:03 +01:00
parent b269c7cfcb
commit b98bcdf2e2

View File

@@ -211,7 +211,7 @@ interface TwitchExtConfiguration {
* @param version The configuration segment to set.
* @param content The version of configuration with which the segment is stored.
*/
set(segment: string, version: string, content: string): void;
set(segment: "broadcaster", version: string, content: string): void;
}
interface TwitchExtFeatureFlags {