updated typescript typings

This commit is contained in:
Sebastian Hildebrandt 2020-08-26 20:13:53 +02:00
parent af2f8f33da
commit 37083d7952
4 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.27.3 | 2020-08-26 | updated typescript typings |
| 4.27.2 | 2020-08-26 | fixed issue breaking node v4 compatibility |
| 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) |
| 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters |

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.27.3</th>
<td>2020-08-26</td>
<td>updated typescript typings</td>
</tr>
<tr>
<th scope="row">4.27.2</th>
<td>2020-08-26</td>

View File

@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.27.2</span></div>
<div class="version">Current Version: <span id="version">4.27.3</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">

1
lib/index.d.ts vendored
View File

@ -758,3 +758,4 @@ export function getStaticData(cb?: (data: Systeminformation.StaticData) => any):
export function getDynamicData(srv?: string, iface?: string, cb?: (data: any) => any): Promise<any>;
export function getAllData(srv?: string, iface?: string, cb?: (data: any) => any): Promise<any>;
export function get(valuesObject: any, cb?: (data: any) => any): Promise<any>;
export function observe(valuesObject: any, interval: number, cb?: (data: any) => any): number;