Installation
npm install --save @types/custom-error-generator
Summary
This package contains type definitions for custom-error-generator (https://github.com/jproulx/node-custom-error).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/custom-error-generator.
index.d.ts
declare function createError(name: string, parameters?: Object, Constructor?: any): any;
declare namespace createError {
}
export = createError;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Thierry Miceli.