Viewing File: /usr/share/nodejs/@types/opener/index.d.ts

// 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;
Back to Directory File Manager