From e33d050c5aa3f737e99cc6fb16f4ff23aec44e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 21 Sep 2019 23:24:15 +0200 Subject: [PATCH] fixes --- core/shared_queue.rs | 2 +- deno_typescript/lib.deno_core.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/shared_queue.rs b/core/shared_queue.rs index 5f9554ad2140fb..dbb738f15d5be5 100644 --- a/core/shared_queue.rs +++ b/core/shared_queue.rs @@ -196,7 +196,7 @@ impl SharedQueue { #[cfg(test)] mod tests { use super::*; - use crate::isolate::Buf; + use crate::ops::Buf; #[test] fn basic() { diff --git a/deno_typescript/lib.deno_core.d.ts b/deno_typescript/lib.deno_core.d.ts index c1e8798c545f2d..1961f385e212fd 100644 --- a/deno_typescript/lib.deno_core.d.ts +++ b/deno_typescript/lib.deno_core.d.ts @@ -28,7 +28,7 @@ declare class Op { constructor(name: string); - setOpId(opId: Opid): void; + setOpId(opId: OpId): void; static handleAsyncMsgFromRust(opId: OpId, buf: Uint8Array): void; @@ -58,7 +58,7 @@ declare interface DenoCore { shift(): Uint8Array | null; }; - Op: Op; + Op: typeof Op; initOps(): void; recv(cb: MessageCallback): void;