3d48d4464b
* fix(cli,napi-derive): re-export types from shared crate * chore: publish - @napi-rs/cli@2.15.1-alpha.0 * Clippy fix * Fix memory testing
7 lines
128 B
Rust
7 lines
128 B
Rust
use napi_derive::napi;
|
|
use napi_shared::Shared;
|
|
|
|
#[napi]
|
|
pub fn return_from_shared_crate() -> Shared {
|
|
Shared { value: 42 }
|
|
}
|