mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
488 B
TypeScript
15 lines
488 B
TypeScript
// Type definitions for opener 1.4
|
|
// Project: https://github.com/domenic/opener
|
|
// Definitions by: Rahul Ravikumar <https://github.com/tikurahul>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types='node' />
|
|
|
|
import { ChildProcess } from 'child_process';
|
|
|
|
type Callback = (error: Error, stdout: string, stderr: string) => void;
|
|
declare function opener(
|
|
args: string | string[], options?: {}, callback?: Callback): ChildProcess;
|
|
|
|
export = opener;
|