mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix NetworkConditions descriptions (#11843)
This commit is contained in:
parent
c5cee0e37d
commit
799058cc7b
@ -13,7 +13,7 @@ export interface NetworkConditions
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| -------- | --------- | ------ | ----------- | ------- |
|
||||
| download | | number | | |
|
||||
| latency | | number | | |
|
||||
| upload | | number | | |
|
||||
| -------- | --------- | ------ | ------------------------ | ------- |
|
||||
| download | | number | Download speed (bytes/s) | |
|
||||
| latency | | number | Latency (ms) | |
|
||||
| upload | | number | Upload speed (bytes/s) | |
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user