summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-08-31 09:34:09 +1000
committerGitHub <noreply@github.com>2024-08-31 09:34:09 +1000
commit8e478a1a7db9a5c4e773e52f9c4a732793145ce7 (patch)
tree83fd643d5dd6fa3768457e820d6ea16144358e7b /cli/tsc/dts/lib.deno.ns.d.ts
parent504ae362d5d7695ad710bcdf86a0f57fb4fbd113 (diff)
chore: remove `Deno.resources()` (#25251)
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts30
1 files changed, 0 insertions, 30 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index 31634811c..556799762 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -4061,36 +4061,6 @@ declare namespace Deno {
}
/**
- * A map of open resources that Deno is tracking. The key is the resource ID
- * (_rid_) and the value is its representation.
- *
- * @deprecated This will be removed in Deno 2.0.
- *
- * @category Runtime */
- export interface ResourceMap {
- [rid: number]: unknown;
- }
-
- /** Returns a map of open resource IDs (_rid_) along with their string
- * representations. This is an internal API and as such resource
- * representation has `unknown` type; that means it can change any time and
- * should not be depended upon.
- *
- * ```ts
- * console.log(Deno.resources());
- * // { 0: "stdin", 1: "stdout", 2: "stderr" }
- * Deno.openSync('../test.file');
- * console.log(Deno.resources());
- * // { 0: "stdin", 1: "stdout", 2: "stderr", 3: "fsFile" }
- * ```
- *
- * @deprecated This will be removed in Deno 2.0.
- *
- * @category Runtime
- */
- export function resources(): ResourceMap;
-
- /**
* Additional information for FsEvent objects with the "other" kind.
*
* - `"rescan"`: rescan notices indicate either a lapse in the events or a