UNPKG

@dishuostec/llrt-types

Version:

Type definitions for LLRT, Low Latency Runtime

18 lines (14 loc) 423 B
declare module "tty" { /** * The `tty.isatty()` method returns `true` if the given `fd` is associated with * a TTY and `false` if it is not, including whenever `fd` is not a non-negative * integer. * @since v0.5.8 * @param fd A numeric file descriptor */ export function isatty(fd: number): boolean; const _default: { isatty: typeof isatty; }; export default _default; }