elearning/Frontend-Learner/node_modules/eslint-plugin-regexp/dist/utils/char-ranges.d.ts
2026-01-13 10:48:02 +07:00

6 lines
443 B
TypeScript

import type { Rule } from "eslint";
import type { JSONSchema4 } from "json-schema";
import type { CharRange } from "refa";
export declare function getAllowedCharRanges(allowedByRuleOption: string | readonly string[] | undefined, context: Rule.RuleContext): readonly CharRange[];
export declare function getAllowedCharValueSchema(): JSONSchema4;
export declare function inRange(ranges: Iterable<CharRange>, min: number, max?: number): boolean;