mirror of
https://github.com/iptv-org/epg
synced 2026-03-22 11:50:59 -04:00
Update utils.ts
This commit is contained in:
@@ -110,3 +110,7 @@ export async function loadIssues(props?: { labels: string[] | string }) {
|
||||
export function parseNumber(value: string): number {
|
||||
return parseInt(value)
|
||||
}
|
||||
|
||||
export function parseList(value: string): string[] {
|
||||
return value.split(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user