typescript typings fix processLoad()
This commit is contained in:
parent
209c6bb629
commit
7c322fbe28
@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 5.7.10 | 2021-07-26 | typescript typings fix `processLoad()` |
|
||||
| 5.7.9 | 2021-07-25 | `uuid()` better regedit path detection (win) |
|
||||
| 5.7.8 | 2021-07-16 | `battery()` fix designedCapacity (win, linux), fix catch error |
|
||||
| 5.7.7 | 2021-06-15 | `graphics()` improved detection screen resolution (macOS) |
|
||||
|
||||
@ -56,6 +56,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.7.10</th>
|
||||
<td>2021-07-26</td>
|
||||
<td>typescript typings fix processLoad()</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.7.9</th>
|
||||
<td>2021-07-25</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.7.9</span></div>
|
||||
<div class="version">New Version: <span id="version">5.7.10</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
|
||||
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -919,7 +919,7 @@ export function wifiConnections(cb?: (data: Systeminformation.WifiConnectionData
|
||||
export function users(cb?: (data: Systeminformation.UserData[]) => any): Promise<Systeminformation.UserData[]>;
|
||||
|
||||
export function processes(cb?: (data: Systeminformation.ProcessesData) => any): Promise<Systeminformation.ProcessesData>;
|
||||
export function processLoad(processName: string, cb?: (data: Systeminformation.ProcessesProcessLoadData) => any): Promise<Systeminformation.ProcessesProcessLoadData>;
|
||||
export function processLoad(processNames: string, cb?: (data: Systeminformation.ProcessesProcessLoadData[]) => any): Promise<Systeminformation.ProcessesProcessLoadData[]>;
|
||||
export function services(serviceName: string, cb?: (data: Systeminformation.ServicesData[]) => any): Promise<Systeminformation.ServicesData[]>;
|
||||
|
||||
export function dockerInfo(cb?: (data: Systeminformation.DockerInfoData) => any): Promise<Systeminformation.DockerInfoData>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user