@slightning/anything-to-string
Version:
Converts anything to a string.
22 lines (21 loc) • 1.11 kB
TypeScript
import { PrepareContext, RequiredConfig, Rule, ToStringContext } from "../config";
declare function isRegExp(data: unknown): data is RegExp;
export declare class MinimumRegExpRule implements Rule<RegExp> {
test: typeof isRegExp;
toString(this: this, data: RegExp, __config: RequiredConfig, __context: ToStringContext): string;
}
export declare class LesserRegExpRule implements Rule<RegExp> {
test: typeof isRegExp;
toString(this: this, data: RegExp, __config: RequiredConfig, __context: ToStringContext): string;
}
export declare class MajorRegExpRule implements Rule<RegExp> {
test: typeof isRegExp;
prepare(this: this, data: RegExp, config: RequiredConfig, context: PrepareContext): void;
toString(this: this, data: RegExp, config: RequiredConfig, context: ToStringContext): string;
}
export declare class MaximumRegExpRule implements Rule<RegExp> {
test: typeof isRegExp;
prepare(this: this, data: RegExp, config: RequiredConfig, context: PrepareContext): void;
toString(this: this, data: RegExp, config: RequiredConfig, context: ToStringContext): string;
}
export {};