unmock-core
Version:
[][npmjs] [](https://circleci.com/gh/unmock/unmock-js) [](h
14 lines • 723 B
TypeScript
import { Schema, UnmockServiceState } from "../interfaces";
import { IUnmockProperty } from "./interfaces";
export declare const getTopLevelDSL: (state: UnmockServiceState) => {};
export declare const filterTopLevelDSL: (state: UnmockServiceState) => {};
export declare const throwOnErrorIfStrict: (fn: () => any) => any;
export declare const buildUnmockPropety: (name: string, value: any) => {
[x: string]: {
type: string;
default: any;
};
};
export declare const injectUnmockProperty: (responses: Record<string, Record<string, Schema>>, unmockProperty: IUnmockProperty) => void;
export declare const hasUnmockProperty: (schema: Schema, name: string) => boolean;
//# sourceMappingURL=utils.d.ts.map