summaryrefslogtreecommitdiff
path: root/cli/tsc/mod.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-08 23:48:46 +0100
committerGitHub <noreply@github.com>2023-01-08 23:48:46 +0100
commitc41d4ff90e09b63bd1894052352a5acba57b1704 (patch)
tree52be95551ed263c2f4831aaefc78bb6fdda6d89c /cli/tsc/mod.rs
parent2be1282be42369e558cc77f75b22488ce7a8215e (diff)
feat(core): allow specifying name and dependencies of an Extension (#17301)
Diffstat (limited to 'cli/tsc/mod.rs')
-rw-r--r--cli/tsc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs
index 497105cb5..c08b4e1ae 100644
--- a/cli/tsc/mod.rs
+++ b/cli/tsc/mod.rs
@@ -770,7 +770,7 @@ pub fn exec(request: Request) -> Result<Response, AnyError> {
.collect();
let mut runtime = JsRuntime::new(RuntimeOptions {
startup_snapshot: Some(compiler_snapshot()),
- extensions: vec![Extension::builder()
+ extensions: vec![Extension::builder("deno_cli_tsc")
.ops(vec![
op_cwd::decl(),
op_create_hash::decl(),