mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #32685 from feinoujc/pollyjs2
[@pollyjs monorepo] bump version, correct header typing
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Vendored
+3
-3
@@ -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
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user