summaryrefslogtreecommitdiff
path: root/deno.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-06-22 14:23:42 +0200
committerGitHub <noreply@github.com>2018-06-22 14:23:42 +0200
commit86354a29a40fb97e334f951428239ab8e171e2dd (patch)
tree2f0d8cc2680aa4ccbaf865b427976b3f810b6920 /deno.d.ts
parentef9dc2464e10510bdcc4be9eae431e3dcf7f7999 (diff)
Delete go implementation (#276)
The go prototype will remain at https://github.com/ry/deno/tree/golang
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;
-}