@types/k6 0.51.0 → 0.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. k6/README.md +1 -1
  2. k6/http.d.ts +2 -2
  3. k6/package.json +3 -3
k6/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for k6 (https://grafana.com/docs/k6/lates
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 13 May 2024 13:35:56 GMT
11
+ * Last updated: Tue, 25 Jun 2024 10:36:35 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
k6/http.d.ts CHANGED
@@ -620,7 +620,7 @@ export interface RefinedResponse<RT extends ResponseType | undefined> extends Re
620
620
  /**
621
621
  * Response body.
622
622
  */
623
- export type ResponseBody = string | bytes | null;
623
+ export type ResponseBody = string | ArrayBuffer | null;
624
624
 
625
625
  /**
626
626
  * Refined response body.
@@ -628,7 +628,7 @@ export type ResponseBody = string | bytes | null;
628
628
  * @template RT - `Params.responseType` value.
629
629
  * @privateRemarks Default type is a union due to depending on program options.
630
630
  */
631
- export type RefinedResponseBody<RT extends ResponseType | undefined> = RT extends "binary" ? bytes
631
+ export type RefinedResponseBody<RT extends ResponseType | undefined> = RT extends "binary" ? ArrayBuffer
632
632
  : RT extends "none" ? null
633
633
  : RT extends "text" ? string
634
634
  : RT extends undefined ? string | null
k6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/k6",
3
- "version": "0.51.0",
3
+ "version": "0.51.1",
4
4
  "description": "TypeScript definitions for k6",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
6
6
  "license": "MIT",
@@ -60,6 +60,6 @@
60
60
  },
61
61
  "scripts": {},
62
62
  "dependencies": {},
63
- "typesPublisherContentHash": "fd17fedc4161ea6cdb1d78db41100cc597d5c251769b71a824af1faaabbe4ff1",
64
- "typeScriptVersion": "4.7"
63
+ "typesPublisherContentHash": "bd1f1b832fb8e72e78b06940251c84e29343e751bc29b44b6a5c3d96d356e07f",
64
+ "typeScriptVersion": "4.8"
65
65
  }