Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Add TypeScript typings file #115

Merged
merged 1 commit into from
Nov 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export function exec(cmd: string, options: { name?: string, icns?: string }, callback: (error: string, stdout: string, stderr: string) => void): void;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down