Merge pull request #32685 from feinoujc/pollyjs2

[@pollyjs monorepo] bump version, correct header typing
This commit is contained in:
Pranav Senthilnathan
2019-02-01 10:01:31 -08:00
committed by GitHub
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/adapter-fetch 1.3
// Type definitions for @pollyjs/adapter-fetch 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-fetch
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/adapter-node-http 1.4
// Type definitions for @pollyjs/adapter-node-http 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http
// Definitions by: jlmessenger <https://github.com/jlmessenger>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/adapter 1.3
// Type definitions for @pollyjs/adapter 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+3 -3
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/core 1.3
// Type definitions for @pollyjs/core 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/core
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -70,7 +70,7 @@ export interface Request {
port: string;
pathname: string;
hash: string;
headers: Record<string, string>;
headers: Record<string, string | string[]>;
body: any;
query: any;
params: any;
@@ -79,7 +79,7 @@ export interface Request {
}
export interface Response {
statusCode?: number;
headers: Record<string, string>;
headers: Record<string, string | string[]>;
body: any;
status(status: number): Response;
getHeader(name: string): string | null;
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/persister-fs 1.3
// Type definitions for @pollyjs/persister-fs 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/persister-fs
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/persister 1.3
// Type definitions for @pollyjs/persister 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/persister
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for @pollyjs/utils 1.3
// Type definitions for @pollyjs/utils 2.0
// Project: https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/utils
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped