From 62c752211c982ee6eb297cf49a076464471407f7 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 13 May 2021 20:20:55 +0800 Subject: docs(cli/dts): use `Deno.stdin.rid` in `Deno.setRaw` example (#10623) --- cli/dts/lib.deno.unstable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/dts') 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( -- cgit v1.2.3