summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authoruki00a <uki00a@gmail.com>2020-07-08 23:35:45 +0900
committerGitHub <noreply@github.com>2020-07-08 10:35:45 -0400
commita2bf61d1ae3ba2ff746a98ad2f0a96b6fc7782d0 (patch)
treed7d074acd7de7ecdc3094c5f6b0c5ded696f3e39 /cli/js/lib.deno.unstable.d.ts
parent231899695d410d8d8c14c0936682a90e98bc6fd3 (diff)
feat(unstable): Deno.ppid (#6539)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r--cli/js/lib.deno.unstable.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts
index 20096cb28..cec4f7f46 100644
--- a/cli/js/lib.deno.unstable.d.ts
+++ b/cli/js/lib.deno.unstable.d.ts
@@ -1194,4 +1194,9 @@ declare namespace Deno {
* ```
*/
export function fstat(rid: number): Promise<FileInfo>;
+
+ /** **UNSTABLE**: New API, yet to be vetted.
+ * The pid of the current process's parent.
+ */
+ export const ppid: number;
}