UNPKG

440 BTypeScriptView Raw
1declare global {
2 interface Window {
3 Pretender: any;
4 RouteRecognizer: any;
5 FakeXMLHttpRequest: any;
6 }
7}
8import "pretender";
9import "./pretender-hacks";
10interface MemserverOptions {
11 logging?: boolean;
12 initializer?: () => any | void;
13 routes?: () => any | void;
14 [propName: string]: any;
15}
16export default class Memserver {
17 Models: {};
18 constructor(options?: MemserverOptions);
19}
20export {};