elearning/Frontend-Learner/node_modules/eslint-plugin-regexp/dist/utils/char-ranges.d.ts

7 lines
443 B
TypeScript
Raw Normal View History

2026-01-13 10:46:40 +07:00
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;