mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
[nock]: support options method
This commit is contained in:
Vendored
+1
@@ -48,6 +48,7 @@ declare namespace nock {
|
||||
patch: InterceptFunction;
|
||||
merge: InterceptFunction;
|
||||
delete: InterceptFunction;
|
||||
options: InterceptFunction;
|
||||
|
||||
intercept: (
|
||||
uri: string | RegExp | { (uri: string): boolean; },
|
||||
|
||||
@@ -22,6 +22,9 @@ inst = scope.head(str);
|
||||
inst = scope.get(str);
|
||||
inst = scope.get(str, data);
|
||||
|
||||
inst = scope.options(str);
|
||||
inst = scope.options(str, data);
|
||||
|
||||
inst = scope.patch(str);
|
||||
inst = scope.patch(str, str);
|
||||
inst = scope.patch(str, obj);
|
||||
|
||||
Reference in New Issue
Block a user