site/node_modules/parse-numeric-range/index.d.ts
2024-10-14 08:09:33 +02:00

6 lines
217 B
TypeScript

/**
* Parses expressions like `1-10,20-30`. Returns an energetic (as opposed to lazy) array.
* @param expression a numeric range expression
*/
declare function parse(expression: string): number[];
export = parse;