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

0.1.33 • Public • Published

Installation

npm install --save @types/exit

Summary

This package contains type definitions for exit (https://github.com/cowboy/node-exit).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit.

index.d.ts

/// <reference types="node" />

/**
 * A replacement for process.exit that ensures stdio are fully drained before exiting.
 */
declare function exit(code: number, streams?: [NodeJS.WritableStream, NodeJS.WritableStream]): void;

export = exit;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Bart van der Schoor.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/exit

Weekly Downloads

13,446

Version

0.1.33

License

MIT

Unpacked Size

3.07 kB

Total Files

5

Last publish

Collaborators

  • types