diff options
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 175276b66..9ec90a2d6 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -5448,6 +5448,9 @@ declare namespace Deno { * assert(fileInfo.isFile); * ``` * + * @deprecated Use `file.stat()` instead. + * {@linkcode Deno.fstat} will be removed in Deno 2.0. + * * @category File System */ export function fstat(rid: number): Promise<FileInfo>; @@ -5464,6 +5467,9 @@ declare namespace Deno { * assert(fileInfo.isFile); * ``` * + * @deprecated Use `file.statSync()` instead. + * {@linkcode Deno.fstatSync} will be removed in Deno 2.0. + * * @category File System */ export function fstatSync(rid: number): FileInfo; |