From 8a14eafaff3511fe3b5c6df9d958b565f80d93de Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 2 Jul 2020 21:34:19 +0800 Subject: [PATCH] doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590) --- cli/js/lib.deno.unstable.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts index da3c651438..20096cb287 100644 --- a/cli/js/lib.deno.unstable.d.ts +++ b/cli/js/lib.deno.unstable.d.ts @@ -1086,7 +1086,8 @@ declare namespace Deno { /** **UNSTABLE**: The URL of the file that was originally executed from the command-line. */ export const mainModule: string; - /** Synchronously truncates or extends the specified file stream, to reach the + /** **UNSTABLE**: new API, yet to be vetted. + * Synchronously truncates or extends the specified file stream, to reach the * specified `len`. If `len` is not specified then the entire file contents * are truncated. * @@ -1106,7 +1107,8 @@ declare namespace Deno { */ export function ftruncateSync(rid: number, len?: number): void; - /** Truncates or extends the specified file stream, to reach the specified `len`. If + /** **UNSTABLE**: new API, yet to be vetted. + * Truncates or extends the specified file stream, to reach the specified `len`. If * `len` is not specified then the entire file contents are truncated. * * ```ts