summaryrefslogtreecommitdiff
path: root/deno_typescript
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-09-30 20:59:44 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-09-30 14:59:44 -0400
commitffbf0c20ccc4e70281958f18ed117f40bdd91397 (patch)
tree602fc442c91186e80a57eca85c5069f4a9be04d3 /deno_typescript
parentae26a9c7a22bf3311648a93a3171f087490c6e4d (diff)
feat: op registration in core (#3002)
Diffstat (limited to 'deno_typescript')
-rw-r--r--deno_typescript/lib.deno_core.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/deno_typescript/lib.deno_core.d.ts b/deno_typescript/lib.deno_core.d.ts
index 0bd3b6415..423e53578 100644
--- a/deno_typescript/lib.deno_core.d.ts
+++ b/deno_typescript/lib.deno_core.d.ts
@@ -37,6 +37,11 @@ declare interface DenoCore {
shift(): Uint8Array | null;
};
+ ops: {
+ init(): void;
+ get(name: string): number;
+ };
+
recv(cb: MessageCallback): void;
send(