From e9e3b0e14d7e13c1ded55eb896f6c108340599bc Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Wed, 12 Jun 2019 08:18:30 +0200 Subject: [PATCH] typescript definitions fix --- CHANGELOG.md | 1 + docs/history.html | 9 +++++++-- docs/index.html | 2 +- lib/index.d.ts | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 932cb9d..e7d65bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 | diff --git a/docs/history.html b/docs/history.html index 6fc69f9..7ac9ec7 100644 --- a/docs/history.html +++ b/docs/history.html @@ -81,8 +81,13 @@ - 4.9.0 - 2019-06-03 + 4.9.2 + 2019-06-12 + type definitions bug fix + + + 4.9.1 + 2019-06-11 networkStats() bugfix windows diff --git a/docs/index.html b/docs/index.html index 3d1946d..0779c8e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.9.1
+
Current Version: 4.9.2
diff --git a/lib/index.d.ts b/lib/index.d.ts index 067f27d..7805714 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -616,7 +616,7 @@ export function fsOpenFiles(cb?: (data: Systeminformation.FsOpenFilesData[]) => export function blockDevices(cb?: (data: Systeminformation.BlockDevicesData[]) => any): Promise; export function fsStats(cb?: (data: Systeminformation.FsStatsData) => any): Promise; export function disksIO(cb?: (data: Systeminformation.DisksIoData) => any): Promise; -export function diskLayout(cb?: (data: Systeminformation.DiskLayoutData) => any): Promise; +export function diskLayout(cb?: (data: Systeminformation.DiskLayoutData[]) => any): Promise; export function networkInterfaceDefault(cb?: (data: string) => any): Promise; export function networkInterfaces(cb?: (data: Systeminformation.NetworkInterfacesData[]) => any): Promise;