From 1d4169204cdc870a084a3371500d7b3ab8546bc2 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 21 Aug 2024 13:12:56 -0400 Subject: fix: warn about import assertions when using typescript (#25135) 1. On emit, checks for the prescence of import assertions. 1. Warns and doesn't store the parsed source in the emit cache in this case. --- runtime/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime') diff --git a/runtime/lib.rs b/runtime/lib.rs index a729d88f7..6b89d0611 100644 --- a/runtime/lib.rs +++ b/runtime/lib.rs @@ -44,6 +44,7 @@ pub use worker_bootstrap::WorkerExecutionMode; pub use worker_bootstrap::WorkerLogLevel; mod shared; +pub use shared::import_assertion_callback; pub use shared::runtime; // NOTE(bartlomieju): keep IDs in sync with `runtime/90_deno_ns.js` (search for `unstableFeatures`) -- cgit v1.2.3