summaryrefslogtreecommitdiff
path: root/deno.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'deno.d.ts')
-rw-r--r--deno.d.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/deno.d.ts b/deno.d.ts
deleted file mode 100644
index f88a13741..000000000
--- a/deno.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
-// All rights reserved. MIT License.
-declare module "deno" {
- type MessageCallback = (msg: Uint8Array) => void;
- function sub(channel: string, cb: MessageCallback): void;
- function pub(channel: string, payload: Uint8Array): null | ArrayBuffer;
-
- function readFileSync(filename: string): Uint8Array;
- function writeFileSync(
- filename: string,
- data: Uint8Array,
- perm: number
- ): void;
-}