site/node_modules/parse-numeric-range/index.d.ts

6 lines
217 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* 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;