@types/node-cleanup
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -12,7 +12,13 @@ // Type definitions for node-cleanup 2.1 | ||
declare function install(cleanupHandler?: ((exitCode: number | null, signal: string | null) => boolean | undefined | void), | ||
stderrMessages?: { ctrl_C: string; uncaughtException: string }): void; | ||
interface StderrMessages { | ||
ctrl_C?: string; | ||
uncaughtException?: string; | ||
} | ||
type Handler = (exitCode: number | null, signal: string | null) => boolean | undefined | void; | ||
declare function install(cleanupHandler?: Handler, stderrMessages?: StderrMessages): void; | ||
declare namespace install { | ||
function uninstall(): void; | ||
function uninstall(): void; | ||
} |
{ | ||
"name": "@types/node-cleanup", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "TypeScript definitions for node-cleanup", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup", | ||
"license": "MIT", | ||
@@ -14,3 +15,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -23,4 +24,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3fbb0d1a9748b5e100186abd6c228a9906ee84b22963b82640bb58ad51f7d600", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "632caf161c400b7d4cb891906c49c8bd2d9ed5e13000381b88773e7ff8b9c119", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,6 +8,33 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup/index.d.ts) | ||
````ts | ||
// Type definitions for node-cleanup 2.1 | ||
// Project: https://github.com/jtlapp/node-cleanup | ||
// Definitions by: Agadar <https://github.com/agadar> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Mon, 26 Aug 2019 15:55:18 GMT | ||
// Note that ES6 modules cannot directly export callable functions. | ||
// This file should be imported using the CommonJS-style: | ||
// import nodeCleanup = require('node-cleanup'); | ||
export = install; | ||
interface StderrMessages { | ||
ctrl_C?: string; | ||
uncaughtException?: string; | ||
} | ||
type Handler = (exitCode: number | null, signal: string | null) => boolean | undefined | void; | ||
declare function install(cleanupHandler?: Handler, stderrMessages?: StderrMessages): void; | ||
declare namespace install { | ||
function uninstall(): void; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 17 Aug 2021 19:01:24 GMT | ||
* Dependencies: none | ||
@@ -17,2 +44,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Agadar <https://github.com/agadar>. | ||
These definitions were written by [Agadar](https://github.com/agadar). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4054
17
0
44