@types/forwarded
Version:
TypeScript definitions for forwarded
26 lines (18 loc) • 803 B
Markdown
# Installation
> `npm install --save @types/forwarded`
# Summary
This package contains type definitions for forwarded (https://github.com/jshttp/forwarded).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forwarded.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forwarded/index.d.ts)
````ts
/// <reference types="node" />
import { IncomingMessage } from "http";
export = forwarded;
declare function forwarded(req: IncomingMessage): string[];
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).