mirror of
https://github.com/iptv-org/epg
synced 2026-03-21 19:30:52 -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 {
|
export function parseNumber(value: string): number {
|
||||||
return parseInt(value)
|
return parseInt(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function parseList(value: string): string[] {
|
||||||
|
return value.split(',')
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user