diff options
Diffstat (limited to 'deno_typescript/lib.rs')
-rw-r--r-- | deno_typescript/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs index c7de33215..2d459f98f 100644 --- a/deno_typescript/lib.rs +++ b/deno_typescript/lib.rs @@ -62,7 +62,7 @@ where } pub struct TSIsolate { - isolate: Isolate, + isolate: Box<Isolate>, state: Arc<Mutex<TSState>>, } @@ -220,7 +220,7 @@ pub fn mksnapshot_bundle_ts( } fn write_snapshot( - mut runtime_isolate: Isolate, + mut runtime_isolate: Box<Isolate>, bundle: &Path, ) -> Result<(), ErrBox> { println!("creating snapshot..."); |