@types/opener
TypeScript icon, indicating that this package has built-in type declarations

1.4.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/opener

Weekly Downloads

8,255

Version

1.4.3

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types