use napi::bindgen_prelude::*; #[napi] fn map_option(val: Option) -> Option { val.map(|v| v + 1) } #[napi] fn return_null() -> Null { Null } #[napi] fn return_undefined() -> Undefined {}