Update utils.ts
This commit is contained in:
1 parent
196e2b27e9
commit
aa17c60c32
1 file changed
+4
@@ -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