diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-04 18:12:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 18:12:11 +1000 |
commit | ac33fc2892f8faf9484c31c2aabfdc3744de0314 (patch) | |
tree | 4eb9f66a2e7e93c512d6aff17fb672b6203af9b4 /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | cb454351d497a4387775f3c9d64114cb8b32c08d (diff) |
chore(tty): soft-remove `Deno.isatty()` (#25410)
Towards #22079
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 8ba41eae0..e861b876e 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -2876,25 +2876,6 @@ declare namespace Deno { } /** - * Check if a given resource id (`rid`) is a TTY (a terminal). - * - * ```ts - * // This example is system and context specific - * const nonTTYRid = Deno.openSync("my_file.txt").rid; - * const ttyRid = Deno.openSync("/dev/tty6").rid; - * console.log(Deno.isatty(nonTTYRid)); // false - * console.log(Deno.isatty(ttyRid)); // true - * ``` - * - * @deprecated This will be soft-removed in Deno 2.0. See the - * {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide} - * for migration instructions. - * - * @category I/O - */ - export function isatty(rid: number): boolean; - - /** * A variable-sized buffer of bytes with `read()` and `write()` methods. * * @deprecated This will be removed in Deno 2.0. See the |