mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 03:46:07 +08:00
13 lines
420 B
TypeScript
13 lines
420 B
TypeScript
// Type definitions for public-ip 2.3
|
|
// Project: https://github.com/sindresorhus/public-ip#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export function v4(options?: Options): Promise<string>;
|
|
export function v6(options?: Options): Promise<string>;
|
|
|
|
export interface Options {
|
|
https?: boolean;
|
|
timeout?: number;
|
|
}
|