1.2.3 • Published 6 months ago
@types/finalhandler v1.2.3
Installation
npm install --save @types/finalhandler
Summary
This package contains type definitions for finalhandler (https://github.com/pillarjs/finalhandler).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/finalhandler.
index.d.ts
// Type definitions for finalhandler 1.1
// Project: https://github.com/pillarjs/finalhandler
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
// Mark Veronda <https://github.com/hbomark>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
declare function finalhandler(req: IncomingMessage, res: ServerResponse,
options?: finalhandler.Options): (err: any) => void;
declare namespace finalhandler {
interface Options {
env?: string | undefined;
onerror?: ((err: any, req: IncomingMessage, res: ServerResponse) => void) | undefined;
}
}
export = finalhandler;
Additional Details
- Last updated: Tue, 06 Jul 2021 20:32:58 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Ilya Mochalov, and Mark Veronda.
1.2.3
6 months ago
1.2.2
7 months ago
1.2.1
8 months ago
1.2.0
2 years ago
1.1.1
3 years ago
1.1.0
5 years ago
0.0.33
6 years ago
0.0.32
7 years ago
0.0.31
7 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago