typings: fixed fsOpenFiles typings

This commit is contained in:
Sebastian Hildebrandt 2025-09-13 07:18:57 +02:00
parent cf768548d7
commit 993c2615dd
4 changed files with 9 additions and 3 deletions

View File

@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.27.9 | 2025-09-13 | `typings` fsOpenFiles typings fixed |
| 5.27.8 | 2025-08-25 | `disklayout()` fixed catch error (macOS) |
| 5.27.7 | 2025-06-28 | `time()` fixed Intl issue |
| 5.27.6 | 2025-06-20 | `system()` added model (freebsd) |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.27.9</th>
<td>2025-09-13</td>
<td><span class="code">typings</span> fsOpenFiles typings fix</td>
</tr>
<tr>
<th scope="row">5.27.8</th>
<td>2025-08-25</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
3<div class="version">New Version: <span id="version">5.27.8</span></div>
3<div class="version">New Version: <span id="version">5.27.9</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">
@ -212,7 +212,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">867</div>
<div class="numbers">865</div>
<div class="title">Dependents</div>
</div>
</div>

2
lib/index.d.ts vendored
View File

@ -984,7 +984,7 @@ export function graphics(cb?: (data: Systeminformation.GraphicsData) => any): Pr
export function fsSize(drive?: string, cb?: (data: Systeminformation.FsSizeData[]) => any): Promise<Systeminformation.FsSizeData[]>;
export function fsSize(cb?: (data: Systeminformation.FsSizeData[]) => any): Promise<Systeminformation.FsSizeData[]>;
export function fsOpenFiles(cb?: (data: Systeminformation.FsOpenFilesData[]) => any): Promise<Systeminformation.FsOpenFilesData[]>;
export function fsOpenFiles(cb?: (data: Systeminformation.FsOpenFilesData) => any): Promise<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>;