mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 20:55:25 +00:00
11 lines
377 B
TypeScript
11 lines
377 B
TypeScript
|
declare module "httpolyglot" {
|
||
|
import * as http from "http"
|
||
|
import * as https from "https"
|
||
|
|
||
|
function createServer(requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): http.Server
|
||
|
function createServer(
|
||
|
options: https.ServerOptions,
|
||
|
requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void
|
||
|
): https.Server
|
||
|
}
|