@docusaurus/core
Version:
Easy to Maintain Open Source Documentation Websites
15 lines (14 loc) • 382 B
TypeScript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export type HostPortOptions = {
host?: string;
port?: string;
};
export declare function getHostPort(options: HostPortOptions): Promise<{
host: string;
port: number | null;
}>;