UNPKG

kaven-utils

Version:

Utils for Node.js.

28 lines (27 loc) 947 B
/******************************************************************** * @author: Kaven * @email: kaven@wuwenkai.com * @website: http://blog.kaven.xyz * @file: [Kaven-Utils] /src/base/Types.ts * @create: 2021-12-28 14:26:10.085 * @modify: 2023-11-25 22:33:00.170 * @version: 5.0.7 * @times: 12 * @lines: 31 * @copyright: Copyright © 2021-2023 Kaven. All Rights Reserved. * @description: [description] * @license: [license] ********************************************************************/ import * as http from "node:http"; import * as https from "node:https"; import { DefaultGetExternalIpByUPnPOptions } from "./Constants.js"; /** * @since 2.0.14 * @version 2021-03-19 */ export type HttpOrHttpsServer = http.Server | https.Server; /** * @since 5.0.3 * @version 2023-11-21 */ export type GetExternalIpByUPnPOptions = Partial<typeof DefaultGetExternalIpByUPnPOptions>;