UNPKG

ut-tools

Version:

Build and Release management automation package.

7 lines (6 loc) 325 B
import { GetLocationForJsonPath, IParserResult } from '@stoplight/types'; export interface IParser<R extends IParserResult = IParserResult<unknown>> { parse(input: string): R; getLocationForJsonPath: GetLocationForJsonPath<R>; trapAccess<T extends Record<string, unknown> = Record<string, unknown>>(obj: T): T; }