@types/nock
Advanced tools
Comparing version 9.1.2 to 9.1.3
@@ -161,4 +161,11 @@ // Type definitions for nock v9.1.3 | ||
(fixtureName: string, options: NockBackOptions, nockedFn: (nockDone: () => void) => void): void; | ||
(fixtureName: string, options?: NockBackOptions): Promise<{ nockDone: () => void, context: NockBackContext }>; | ||
} | ||
export interface NockBackContext { | ||
scopes: Scope[]; | ||
assertScopesFinished(): void; | ||
isLoaded: boolean; | ||
} | ||
export interface NockBackOptions { | ||
@@ -165,0 +172,0 @@ before?: (def: NockDefinition) => void; |
{ | ||
"name": "@types/nock", | ||
"version": "9.1.2", | ||
"version": "9.1.3", | ||
"description": "TypeScript definitions for nock", | ||
@@ -42,4 +42,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "726ba430c6d0465333529093ffe0a63d338dbee9f8778948ecd6ca0425a9df7e", | ||
"typesPublisherContentHash": "32293fde160cfb191f125ed0aeb320f45ed6325082f4f111325764f7296cd5d8", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 17 Jan 2018 22:17:28 GMT | ||
* Last updated: Mon, 09 Apr 2018 17:06:48 GMT | ||
* Dependencies: node | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
9580
144