mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
496 B
TypeScript
18 lines
496 B
TypeScript
// Type definitions for parseurl 1.3
|
|
// Project: https://github.com/pillarjs/parseurl
|
|
// Definitions by: Stefan Reichel <https://github.com/bomret>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node" />
|
|
|
|
import { IncomingMessage } from "http";
|
|
import { Url } from "url";
|
|
|
|
declare function parseurl(req: IncomingMessage): Url | undefined;
|
|
|
|
declare namespace parseurl {
|
|
function original(req: IncomingMessage): Url | undefined;
|
|
}
|
|
|
|
export = parseurl;
|