Update utils.ts
This commit is contained in:
1 parent
0f89f97e0b
commit
6641d23714
1 file changed
+4
@@ -104,3 +104,7 @@ export async function loadIssues(props?: { labels: string[] | string }) {
|
|||||||
|
|
||||||
return new Collection(issues).map(data => new Issue(data))
|
return new Collection(issues).map(data => new Issue(data))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function parseNumber(value: string): number {
|
||||||
|
return parseInt(value)
|
||||||
|
}
|
||||||
Reference in new issue
Block a user