diff --git a/src/utils.ts b/src/utils.ts index f243098..edcc329 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -80,7 +80,7 @@ export function filterPath(src: string): string { // By Pisces -function extractNumerals(s: string): Number[] { +function extractNumerals(s: string): number[] { return (s.match(/\d+/g) || []).map((x) => parseInt(x)); }