fix typescript definitions for versions()
This commit is contained in:
parent
9c73592ff2
commit
e75edb001b
62
lib/index.d.ts
vendored
62
lib/index.d.ts
vendored
@ -214,36 +214,36 @@ export namespace Systeminformation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface VersionData {
|
interface VersionData {
|
||||||
kernel: string;
|
kernel?: string;
|
||||||
openssl: string;
|
openssl?: string;
|
||||||
systemOpenssl: string;
|
systemOpenssl?: string;
|
||||||
systemOpensslLib: string;
|
systemOpensslLib?: string;
|
||||||
node: string;
|
node?: string;
|
||||||
v8: string;
|
v8?: string;
|
||||||
npm: string;
|
npm?: string;
|
||||||
yarn: string;
|
yarn?: string;
|
||||||
pm2: string;
|
pm2?: string;
|
||||||
gulp: string;
|
gulp?: string;
|
||||||
grunt: string;
|
grunt?: string;
|
||||||
git: string;
|
git?: string;
|
||||||
tsc: string;
|
tsc?: string;
|
||||||
mysql: string;
|
mysql?: string;
|
||||||
redis: string;
|
redis?: string;
|
||||||
mongodb: string;
|
mongodb?: string;
|
||||||
nginx: string;
|
nginx?: string;
|
||||||
php: string;
|
php?: string;
|
||||||
docker: string;
|
docker?: string;
|
||||||
postfix: string;
|
postfix?: string;
|
||||||
postgresql: string;
|
postgresql?: string;
|
||||||
perl: string;
|
perl?: string;
|
||||||
python: string;
|
python?: string;
|
||||||
python3: string;
|
python3?: string;
|
||||||
pip: string;
|
pip?: string;
|
||||||
pip3: string;
|
pip3?: string;
|
||||||
java: string;
|
java?: string;
|
||||||
gcc: string;
|
gcc?: string;
|
||||||
virtualbox: string;
|
virtualbox?: string;
|
||||||
dotnet: string;
|
dotnet?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface UserData {
|
interface UserData {
|
||||||
@ -626,7 +626,7 @@ export function chassis(cb?: (data: Systeminformation.ChassisData) => any): Prom
|
|||||||
|
|
||||||
export function time(): Systeminformation.TimeData;
|
export function time(): Systeminformation.TimeData;
|
||||||
export function osInfo(cb?: (data: Systeminformation.OsData) => any): Promise<Systeminformation.OsData>;
|
export function osInfo(cb?: (data: Systeminformation.OsData) => any): Promise<Systeminformation.OsData>;
|
||||||
export function versions(cb?: (data: Systeminformation.VersionData) => any): Promise<Systeminformation.VersionData>;
|
export function versions(apps?: string, cb?: (data: Systeminformation.VersionData) => any): Promise<Systeminformation.VersionData>;
|
||||||
export function shell(cb?: (data: string) => any): Promise<string>;
|
export function shell(cb?: (data: string) => any): Promise<string>;
|
||||||
export function uuid(cb?: (data: Systeminformation.UuidData) => any): Promise<Systeminformation.UuidData>;
|
export function uuid(cb?: (data: Systeminformation.UuidData) => any): Promise<Systeminformation.UuidData>;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user