feat(napi): re-export ctor as module_init
This commit is contained in:
parent
77dab3e9f7
commit
53fe4d3aa5
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ pub(crate) unsafe fn log_js_value<V: AsRef<[sys::napi_value]>>(
|
|||
);
|
||||
}
|
||||
|
||||
pub use crate::bindgen_runtime::ctor as module_init;
|
||||
|
||||
pub mod bindgen_prelude {
|
||||
#[cfg(feature = "compat-mode")]
|
||||
pub use crate::bindgen_runtime::register_module_exports;
|
||||
|
|
Loading…
Reference in a new issue