@adaas/virtul-api
Version:
The library to templitify API requests and work with async tasks.
14 lines (13 loc) • 426 B
TypeScript
import { ParamIterable, ParamsIterator } from './params.iterator';
export declare class ParamsParser {
constructor();
extract(text: string, customConfig?: any): ParamsIterator;
getJSON(value?: string): {
parsed: any;
replacement: {
key: number;
span: ParamIterable;
}[];
};
getPropertyPath(obj: any, targetValue: any, currentPath?: string): string | null;
}