ethers.js/misc/admin/lib/cmds/serve-docs.d.ts

9 lines
286 B
TypeScript
Raw Normal View History

2020-09-23 05:54:48 +03:00
/// <reference types="node" />
import { Server } from "http";
export declare function getMime(filename: string): string;
export declare type Options = {
port?: number;
redirects?: Record<string, string>;
};
export declare function start(root: string, options: Options): Server;