mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix sudo-prompt types
This commit is contained in:
parent
c656785256
commit
591c692349
1 changed files with 8 additions and 0 deletions
8
app/ext-modules.d.ts
vendored
8
app/ext-modules.d.ts
vendored
|
|
@ -6,3 +6,11 @@ declare module 'default-shell' {
|
|||
const val: string;
|
||||
export default val;
|
||||
}
|
||||
|
||||
declare module 'sudo-prompt' {
|
||||
export function exec(
|
||||
cmd: string,
|
||||
options: {name?: string; icns?: string; env?: {[key: string]: string}},
|
||||
callback: (error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void
|
||||
): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue