typescript definitions fix

This commit is contained in:
Sebastian Hildebrandt 2019-06-12 08:18:30 +02:00
parent 7a38ccd8ac
commit e9e3b0e14d
4 changed files with 10 additions and 4 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.9.2 | 2019-06-12 | type definitions bug fix |
| 4.9.1 | 2019-06-11 | `networkStats()` bug fix windows |
| 4.9.0 | 2019-06-03 | `graphics()` added vendor, refresh rate, current res |
| 4.8.4 | 2019-06-03 | `vboxInfo()` fixed call parameters |

View File

@ -81,8 +81,13 @@
</thead>
<tbody>
<tr>
<th scope="row">4.9.0</th>
<td>2019-06-03</td>
<th scope="row">4.9.2</th>
<td>2019-06-12</td>
<td><span class="code">type definitions</span> bug fix</td>
</tr>
<tr>
<th scope="row">4.9.1</th>
<td>2019-06-11</td>
<td><span class="code">networkStats()</span> bugfix windows</td>
</tr>
<tr>

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.9.1</span></div>
<div class="version">Current Version: <span id="version">4.9.2</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
View File

@ -616,7 +616,7 @@ export function fsOpenFiles(cb?: (data: Systeminformation.FsOpenFilesData[]) =>
export function blockDevices(cb?: (data: Systeminformation.BlockDevicesData[]) => any): Promise<Systeminformation.BlockDevicesData[]>;
export function fsStats(cb?: (data: Systeminformation.FsStatsData) => any): Promise<Systeminformation.FsStatsData>;
export function disksIO(cb?: (data: Systeminformation.DisksIoData) => any): Promise<Systeminformation.DisksIoData>;
export function diskLayout(cb?: (data: Systeminformation.DiskLayoutData) => any): Promise<Systeminformation.DiskLayoutData>;
export function diskLayout(cb?: (data: Systeminformation.DiskLayoutData[]) => any): Promise<Systeminformation.DiskLayoutData[]>;
export function networkInterfaceDefault(cb?: (data: string) => any): Promise<string>;
export function networkInterfaces(cb?: (data: Systeminformation.NetworkInterfacesData[]) => any): Promise<Systeminformation.NetworkInterfacesData[]>;