UNPKG

388 BTypeScriptView Raw
1/// <reference types="node" />
2import * as http from 'http';
3import * as https from 'https';
4import { MaybePromise } from '../common/types';
5export interface Address {
6 readonly port: number;
7 readonly address: string;
8}
9export declare function start(serverModule: MaybePromise<http.Server | https.Server>): Promise<Address>;
10export default start;
11//# sourceMappingURL=main.d.ts.map
\No newline at end of file