type definitions fix

This commit is contained in:
Sebastian Hildebrandt 2019-06-17 06:44:50 +02:00
parent e18b1344df
commit f0cbd2b45b
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 | | Version | Date | Comment |
| -------------- | -------------- | -------- | | -------------- | -------------- | -------- |
| 4.11.4 | 2019-06-17 | type definitions bug fix |
| 4.11.3 | 2019-06-16 | `graphics()` optimization windows | | 4.11.3 | 2019-06-16 | `graphics()` optimization windows |
| 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes | | 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes |
| 4.11.1 | 2019-06-15 | updated docs | | 4.11.1 | 2019-06-15 | updated docs |

View File

@ -83,6 +83,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">4.11.4</th>
<td>2019-06-17</td>
<td><span class="code">type definitions</span> bug fix</td>
</tr>
<tr> <tr>
<th scope="row">4.11.3</th> <th scope="row">4.11.3</th>
<td>2019-06-16</td> <td>2019-06-16</td>

View File

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

6
lib/index.d.ts vendored
View File

@ -89,9 +89,9 @@ export namespace Systeminformation {
} }
interface CpuTemperatureData { interface CpuTemperatureData {
main: string; main: number;
cores: string; cores: number[];
max: string; max: number;
} }
interface MemData { interface MemData {