mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+2
-2
@@ -3,14 +3,14 @@
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module RewireInterfaces {
|
||||
declare namespace RewireInterfaces {
|
||||
interface Rewire {
|
||||
/**
|
||||
* Returns a rewired version of the module found at filename. Use rewire() exactly like require().
|
||||
*/
|
||||
(filename: string): RewiredModule;
|
||||
}
|
||||
|
||||
|
||||
interface RewiredModule {
|
||||
/**
|
||||
* Takes all enumerable keys of obj as variable names and sets the values respectively. Returns a function which can be called to revert the change.
|
||||
|
||||
Reference in New Issue
Block a user