diff options
Diffstat (limited to 'core/lib.rs')
-rw-r--r-- | core/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib.rs b/core/lib.rs index 82cd1dd43..ddc4d6d91 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -127,6 +127,7 @@ pub fn v8_version() -> &'static str { /// An internal module re-exporting functions used by the #[op] (`deno_ops`) macro #[doc(hidden)] pub mod _ops { + pub use super::error::throw_type_error; pub use super::error_codes::get_error_code; pub use super::ops::to_op_result; pub use super::ops::OpCtx; @@ -137,7 +138,6 @@ pub mod _ops { pub use super::runtime::ops::map_async_op4; pub use super::runtime::ops::queue_async_op; pub use super::runtime::ops::queue_fast_async_op; - pub use super::runtime::throw_type_error; pub use super::runtime::V8_WRAPPER_OBJECT_INDEX; pub use super::runtime::V8_WRAPPER_TYPE_INDEX; } |