summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-06-24 10:04:45 -0300
committerGitHub <noreply@github.com>2022-06-24 15:04:45 +0200
commitfd5a12d7e25dc53238e2bbcffe970e646c1035f3 (patch)
tree251c3ec1a46067b02ef30fb48349962973016bf3 /cli/lsp/tsc.rs
parentd39094913e91e5193f63459d9c5ca6ddc7779477 (diff)
refactor(snapshots): to their own crate (#14794)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r--cli/lsp/tsc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index 6ff4cba00..2a5bdc2d8 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -2618,7 +2618,7 @@ fn op_script_version(
fn js_runtime(performance: Arc<Performance>) -> JsRuntime {
JsRuntime::new(RuntimeOptions {
extensions: vec![init_extension(performance)],
- startup_snapshot: Some(tsc::compiler_snapshot()),
+ startup_snapshot: Some(deno_snapshots::tsc_snapshot()),
..Default::default()
})
}