UNPKG

xhr-mocker

Version:

a npm module to mock/modify xhr/fetch responses for front-end development

10 lines (8 loc) 219 B
type InitOptions = { rules?: string[]; excludeRules?: string[]; mockPanelSdkUrl: string; disabled?: boolean; }; declare const mockInit: (options?: InitOptions) => Promise<boolean>; export { mockInit };