add types

This commit is contained in:
Benjamin Pasero 2019-11-07 16:36:16 +01:00
parent 3bfa62163b
commit e6044763f1
2 changed files with 2 additions and 0 deletions

1
index.d.ts vendored Normal file
View file

@ -0,0 +1 @@
export function exec(cmd: string, options: { name?: string, icns?: string }, callback: (error: string, stdout: string, stderr: string) => void): void;

View file

@ -3,6 +3,7 @@
"version": "9.0.0",
"description": "Run a command using sudo, prompting the user with an OS dialog if necessary",
"main": "index.js",
"types": "index.d.ts",
"files": [
"LICENSE",
"README.md",