Installation
npm install --save @types/opener
Summary
This package contains type definitions for opener (https://github.com/domenic/opener).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opener.
index.d.ts
/// <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;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Rahul Ravikumar.