mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-07 20:03:23 +00:00
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
/// <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;
|