@types/opener
Version:
TypeScript definitions for opener
32 lines (23 loc) • 917 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opener/index.d.ts)
````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](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Rahul Ravikumar](https://github.com/tikurahul).