summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-07-02 21:34:19 +0800
committerGitHub <noreply@github.com>2020-07-02 09:34:19 -0400
commit8a14eafaff3511fe3b5c6df9d958b565f80d93de (patch)
tree6da14bb14b925b8a76972910f85d3627c75d2976 /cli/js/lib.deno.unstable.d.ts
parent74cd91ee566f9d41324de7c771002dfb8d43bd98 (diff)
doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r--cli/js/lib.deno.unstable.d.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts
index da3c65143..20096cb28 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