@ngneat/falso
Version:
All the Fake Data for All Your Real Needs
17 lines (16 loc) • 321 B
TypeScript
import { FakeOptions } from './core/core';
/**
* Generate a random port.
*
* @category internet
*
* @example
*
* randPort()
*
* @example
*
* randPort({ length: 10 })
*
*/
export declare function randPort<Options extends FakeOptions = never>(options?: Options): import("./core/core").Return<number, Options>;