UNPKG

flowjv

Version:

Flow based approach to JSON validation!

6 lines (5 loc) 318 B
import { IKeyPath } from "../../helper/immutable"; import { IFlowSchema } from "../flow"; import { IObjectType } from "../flow/composite/object"; import { ISimpleType } from "../flow/simple"; export declare function getSchemaByPath(schema: IFlowSchema | IObjectType, path: IKeyPath): IObjectType | ISimpleType | null;