Node os utils 1.2: update types (#41738)

* node-os-utils 1.0: Add types

* apply library file layout

* fix lint errors

* node-os-utils 1.1: Add types

* node-os-utils 1.2: Add types
This commit is contained in:
Nasreddine Bac Ali
2020-01-20 15:19:19 -05:00
committed by Eli Barzilay
parent d459d36f4e
commit 84f7c15e43
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for node-os-utils 1.1
// Type definitions for node-os-utils 1.2
// Project: https://github.com/SunilWang/node-os-utils
// Definitions by: Nasreddine Bac Ali <https://github.com/bacali95>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+2
View File
@@ -1 +1,3 @@
export function exec(command: string): () => Promise<string>;
export function wrapExec(command: string): () => () => Promise<string>;
+3 -1
View File
@@ -18,7 +18,9 @@ export const oscmd: OsCmd;
export const proc: Proc;
export const users: Users;
export let options: { NOT_SUPPORTED_VALUE: string, INTERVAL: number };
export const options: { NOT_SUPPORTED_VALUE: string, INTERVAL: number };
export function isNotSupported(res: any): boolean;
export * from './cpu';
export * from './drive';