export type TwitchEmoteSets = string [ ] ; export function parseEmoteSets ( emoteSetsSrc ) { if ( emoteSetsSrc . length <= 0 ) { return [ ] ; } return emoteSetsSrc . split ( "," ) . filter ( ( str ) => str . length > 0 ) ; }