DefinitelyTyped/types/find-process/index.d.ts
buaban 428a996d6b Add types definition for find-process (#28877)
* Add types definition for find-process

* Add new line at EOF

* Compile TS LINT

* 1. change import syntax.  2. Remove comments.
2018-09-17 01:30:49 -07:00

11 lines
454 B
TypeScript

// Type definitions for find-process 1.1
// Project: https://github.com/yibn2008/find-process
// Definitions by: Buaban Buataitom <https://github.com/buaban>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
declare function find(by: string, value: string | number): Promise<Array<{ pid: string, ppid: string, uid: string, gid: string, name: string, cmd: string }>>;
declare namespace find {}
export = find;