mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
* 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
8 lines
128 B
Rust
8 lines
128 B
Rust
use napi_derive::napi;
|
|
use napi_shared::Shared;
|
|
|
|
#[napi]
|
|
pub fn return_from_shared_crate() -> Shared {
|
|
Shared { value: 42 }
|
|
}
|