summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-05-13 20:20:55 +0800
committerGitHub <noreply@github.com>2021-05-13 14:20:55 +0200
commit62c752211c982ee6eb297cf49a076464471407f7 (patch)
tree6972712dab33e003b151977fd0e358c3b9946b39
parentb504eb94bb46e436c6ce944465e55d013031bf92 (diff)
docs(cli/dts): use `Deno.stdin.rid` in `Deno.setRaw` example (#10623)
-rw-r--r--cli/dts/lib.deno.unstable.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 584c1edc1..e6fe9d2c9 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -733,7 +733,7 @@ declare namespace Deno {
* is ignored. This functionality currently only works on Linux and Mac OS.
*
* ```ts
- * Deno.setRaw(myTTY.rid, true, { cbreak: true });
+ * Deno.setRaw(Deno.stdin.rid, true, { cbreak: true });
* ```
*/
export function setRaw(