napi-rs/examples/napi-shared/src/lib.rs
LongYinan 3d48d4464b
fix(cli,napi-derive): re-export types from shared crate (#1531)
* 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
2023-03-21 18:12:52 +08:00

6 lines
80 B
Rust

use napi_derive::napi;
#[napi(object)]
pub struct Shared {
pub value: u32,
}