1 | declare var p: Proxyquire;
|
2 | export = p;
|
3 |
|
4 | interface Proxyquire {
|
5 | (request: string, stubs: any): any;
|
6 | <T>(request: string, stubs: any): T;
|
7 |
|
8 | load(request: string, stubs: any): any;
|
9 | load<T>(request: string, stubs: any): T;
|
10 |
|
11 | noCallThru(): Proxyquire;
|
12 | callThru(): Proxyquire;
|
13 |
|
14 | noPreserveCache(): Proxyquire;
|
15 | preserveCache(): Proxyquire;
|
16 | }
|