Created
September 25, 2016 16:28
-
-
Save Codesleuth/6357970545e64b8a92a6b7c4c4c0e50a to your computer and use it in GitHub Desktop.
Proxyquire definitions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Proxyquire { | |
(request: string, stubs: any): any; | |
<T>(request: string, stubs: any): T; | |
load(request: string, stubs: any): any; | |
load<T>(request: string, stubs: any): T; | |
noCallThru(): Proxyquire; | |
callThru(): Proxyquire; | |
noPreserveCache(): Proxyquire; | |
preserveCache(): Proxyquire; | |
} | |
declare module 'proxyquire' { | |
var p: Proxyquire; | |
export = p; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment