UNPKG

513 BTypeScriptView Raw
1// Type definitions for parseurl 1.3
2// Project: https://github.com/pillarjs/parseurl
3// Definitions by: Stefan Reichel <https://github.com/bomret>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="node" />
7
8import { IncomingMessage } from "http";
9import { Url } from "url";
10
11declare function parseurl(req: IncomingMessage): Url | undefined;
12
13declare namespace parseurl {
14 function original(req: IncomingMessage): Url | undefined;
15}
16
17export = parseurl;