typescript typings fix diskLayout()

This commit is contained in:
Sebastian Hildebrandt 2022-03-01 20:59:41 +01:00
parent 57c7d9af58
commit 6cd3e654cd
4 changed files with 8 additions and 1 deletions

View File

@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.11.6 | 2022-03-01 | typescript typings fix `diskLayout()` |
| 5.11.5 | 2022-02-26 | fixed parsing issues (windows) |
| 5.11.4 | 2022-02-20 | `powerShell` execution policy fix (windows) |
| 5.11.3 | 2022-02-14 | updated docs |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.11.6</th>
<td>2022-03-01</td>
<td>typescript typings fix <span class="code">diskLayout()</span></td>
</tr>
<tr>
<th scope="row">5.11.5</th>
<td>2022-02-26</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.11.5</span></div>
<div class="version">New Version: <span id="version">5.11.6</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

@ -269,6 +269,7 @@ export namespace Systeminformation {
serialNum: string;
interfaceType: string;
smartStatus: string;
temperature: null | number;
smartData?: SmartData;
}