mirror of
https://github.com/danog/code-server.git
synced 2024-11-26 20:34:56 +01:00
8 lines
365 B
TypeScript
8 lines
365 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;
|
|
}
|