Pibd-21_Alekseev_I.S._Inter.../IP/node_modules/express-urlrewrite/index.d.ts
VanyaAlekseev c91124ead4 lab3
2023-12-21 21:08:22 +04:00

18 lines
469 B
TypeScript

// https://github.com/kapouer/express-urlrewrite
declare module "express-urlrewrite" {
import * as Http from "http";
let modName: urlRewrite.urlrewrite;
module urlRewrite {
interface urlrewrite {
(from: string, to?: string): expressUrlRewriteInstance
}
interface expressUrlRewriteInstance {
(req: Http.IncomingMessage, res: Http.ServerResponse, cb: () => any): void
}
}
export = modName;
}