14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
/*!
|
|
* range-parser
|
|
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|
* MIT Licensed
|
|
*/
|
|
export declare const rangeParser: (size: number, str: string) => -2 | -1 | {
|
|
type: string;
|
|
ranges: {
|
|
start: number;
|
|
end: number;
|
|
}[];
|
|
};
|