UNPKG

eslint-plugin-json-schema-validator

Version:
11 lines (10 loc) 328 B
import type { SourceCode } from "../../types"; export declare type GetLoc = (sourceCode: SourceCode) => [number, number]; export declare type NodeData<N> = { key: GetLoc; value: N | null; } | { key?: undefined; value: N; }; export declare type GetNodeFromPath<N> = (node: never, paths: string[]) => NodeData<N>;