docs: fix NetworkConditions descriptions (#11843)

This commit is contained in:
Alex Rudenko 2024-02-06 13:24:10 +01:00 committed by GitHub
parent c5cee0e37d
commit 799058cc7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 8 deletions

View File

@ -12,8 +12,8 @@ export interface NetworkConditions
## Properties
| Property | Modifiers | Type | Description | Default |
| -------- | --------- | ------ | ----------- | ------- |
| download | | number | | |
| latency | | number | | |
| upload | | number | | |
| Property | Modifiers | Type | Description | Default |
| -------- | --------- | ------ | ------------------------ | ------- |
| download | | number | Download speed (bytes/s) | |
| latency | | number | Latency (ms) | |
| upload | | number | Upload speed (bytes/s) | |

View File

@ -36,11 +36,17 @@ export interface Credentials {
* @public
*/
export interface NetworkConditions {
// Download speed (bytes/s)
/**
* Download speed (bytes/s)
*/
download: number;
// Upload speed (bytes/s)
/**
* Upload speed (bytes/s)
*/
upload: number;
// Latency (ms)
/**
* Latency (ms)
*/
latency: number;
}