@types/k6 0.34.1 → 0.34.2

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/data.d.ts +1 -1
  3. k6/package.json +2 -2
k6/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for k6 (https://k6.io/docs/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 05 Oct 2021 12:01:19 GMT
11
+ * Last updated: Wed, 20 Oct 2021 10:31:23 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
k6/data.d.ts CHANGED
@@ -7,5 +7,5 @@ export const SharedArray: {
7
7
  * Given a name and a function that returns an array, the SharedArray constructor returns the same array but sharing the array memory between VUs.
8
8
  * https://k6.io/docs/javascript-api/k6-data/sharedarray/
9
9
  */
10
- new(name: string, callback: () => []): [];
10
+ new<T>(name: string, callback: () => T[]): T[];
11
11
  };
k6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/k6",
3
- "version": "0.34.1",
3
+ "version": "0.34.2",
4
4
  "description": "TypeScript definitions for k6",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
6
6
  "license": "MIT",
@@ -50,6 +50,6 @@
50
50
  },
51
51
  "scripts": {},
52
52
  "dependencies": {},
53
- "typesPublisherContentHash": "1464c1344e7828c4033e8647caf04d302cf4d51aa76cde676ca348aeee7e6ee8",
53
+ "typesPublisherContentHash": "a0c95f6bb3f3029894f1263b00b2b0a0fe8d331c94d0f78ea2db2e4c7990c1d4",
54
54
  "typeScriptVersion": "3.7"
55
55
  }