UNPKG

322 BTypeScriptView Raw
1import type { RequestHandler } from '@umijs/bundler-webpack/compiled/express';
2declare type MockDeclare = string | number | null | undefined | boolean | Record<string, any> | RequestHandler;
3export declare function defineMock(mockData: {
4 [key: string]: MockDeclare;
5}): {
6 [key: string]: MockDeclare;
7};
8export {};