UNPKG

unmock-core

Version:

[![npm](https://img.shields.io/npm/v/unmock-core.svg)][npmjs] [![CircleCI](https://circleci.com/gh/unmock/unmock-js.svg?style=svg)](https://circleci.com/gh/unmock/unmock-js) [![codecov](https://codecov.io/gh/unmock/unmock-js/branch/dev/graph/badge.svg)](h

14 lines 723 B
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