6 lines
217 B
TypeScript
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;
|