UNPKG

430 BTypeScriptView Raw
1import { IFunction, IGivenNode, IParsedResult, IRuleResult, IRunOpts, IRunRule, IThen } from './types';
2export declare const lintNode: (node: IGivenNode, rule: IRunRule, then: IThen<string, any>, apply: IFunction<any>, opts: IRunOpts, parsedResult: IParsedResult) => IRuleResult[];
3export declare const whatShouldBeLinted: (path: (string | number)[], originalValue: any, rule: IRunRule) => {
4 lint: boolean;
5 value: any;
6};