summaryrefslogtreecommitdiff
path: root/cli/js/ops/resources.ts
diff options
context:
space:
mode:
authorcrowlKats <crowlkats@gmail.com>2020-03-13 10:22:22 +0100
committerGitHub <noreply@github.com>2020-03-13 10:22:22 +0100
commite435c2be158ce8657dbff0664b6db222fe4e586c (patch)
treeb0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/ops/resources.ts
parent3ac642c183981a366e1db565c16b81f864b07ee4 (diff)
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/ops/resources.ts')
-rw-r--r--cli/js/ops/resources.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/js/ops/resources.ts b/cli/js/ops/resources.ts
index b04810989..dacdaa659 100644
--- a/cli/js/ops/resources.ts
+++ b/cli/js/ops/resources.ts
@@ -5,9 +5,6 @@ export interface ResourceMap {
[rid: number]: string;
}
-/** Returns a map of open _file like_ resource ids along with their string
- * representation.
- */
export function resources(): ResourceMap {
const res = sendSync("op_resources") as Array<[number, string]>;
const resources: ResourceMap = {};
@@ -17,7 +14,6 @@ export function resources(): ResourceMap {
return resources;
}
-/** Close the given resource ID. */
export function close(rid: number): void {
sendSync("op_close", { rid });
}