@types/k6 0.51.1 → 0.53.0
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.
- k6/README.md +1 -1
- k6/browser.d.ts +3913 -0
- k6/crypto.d.ts +1 -3
- k6/experimental/browser.d.ts +991 -11
- k6/experimental/websockets.d.ts +22 -5
- k6/global.d.ts +0 -2
- k6/http.d.ts +4 -4
- k6/index.d.ts +1 -5
- k6/package.json +2 -2
k6/crypto.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { bytes } from ".";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* Generate random bytes.
|
|
5
3
|
* @param size - Number of bytes to generate.
|
|
@@ -181,7 +179,7 @@ export type OutputEncoding = StringEncoding | BinaryEncoding;
|
|
|
181
179
|
* @template OE - Output encoding.
|
|
182
180
|
*/
|
|
183
181
|
export type Output<OE extends OutputEncoding> = OE extends StringEncoding ? string
|
|
184
|
-
: OE extends BinaryEncoding ?
|
|
182
|
+
: OE extends BinaryEncoding ? ArrayBuffer
|
|
185
183
|
: never;
|
|
186
184
|
|
|
187
185
|
/**
|