mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
feat(core): allow specifying name and dependencies of an Extension (#17301)
This commit is contained in:
parent
2be1282be4
commit
c41d4ff90e
57 changed files with 158 additions and 80 deletions
|
@ -2805,7 +2805,7 @@ fn js_runtime(performance: Arc<Performance>) -> JsRuntime {
|
|||
}
|
||||
|
||||
fn init_extension(performance: Arc<Performance>) -> Extension {
|
||||
Extension::builder()
|
||||
Extension::builder("deno_tsc")
|
||||
.ops(vec![
|
||||
op_exists::decl(),
|
||||
op_is_cancelled::decl(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue