summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorMuthu Kumar <muthukumar@thefeathers.in>2021-06-22 06:33:00 +0530
committerGitHub <noreply@github.com>2021-06-22 03:03:00 +0200
commit388274e02ea7e054f0bbbe4f863dc32447c5971d (patch)
tree2cc921c767cfd0b7a6c9cc967c090d52cd713c6f /cli/dts/lib.deno.unstable.d.ts
parent68c519d06161920d21afc2e40db11230af62baee (diff)
fix: move stable/unstable types/APIs to their correct places (#10880)
- Moved ppid and memoryUsage types from deno.unstable to deno.ns. - Moved sleepSync to unstable object, shutdown to stable object.
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 92858ba31..828211c5b 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1070,11 +1070,6 @@ declare namespace Deno {
export function hostname(): string;
/** **UNSTABLE**: New API, yet to be vetted.
- * The pid of the current process's parent.
- */
- export const ppid: number;
-
- /** **UNSTABLE**: New API, yet to be vetted.
* A custom HttpClient for use with `fetch`.
*
* ```ts
@@ -1171,15 +1166,6 @@ declare namespace Deno {
bytesReceived: number;
}
- export interface MemoryUsage {
- rss: number;
- heapTotal: number;
- heapUsed: number;
- external: number;
- }
-
- export function memoryUsage(): MemoryUsage;
-
export interface RequestEvent {
readonly request: Request;
respondWith(r: Response | Promise<Response>): Promise<void>;