napi-rs/examples/napi/src
2022-04-26 18:21:55 +08:00
..
array.rs test: added test for coerce_to_object on Array 2022-01-17 21:29:47 -08:00
async.rs feat(napi): re-export tokio and features 2022-01-23 23:04:31 +08:00
bigint.rs Fix BigInt issue with zero value 2022-02-04 21:43:57 +08:00
callback.rs docs: add return Promise callback function 2022-04-14 14:24:47 +08:00
class.rs style: clippy fix 2022-03-05 23:05:04 +08:00
class_factory.rs chore: add example for return this 2021-11-25 23:42:40 +08:00
date.rs add unit test that shows Date is rendered in TS type in interface 2022-02-10 18:52:57 +01:00
either.rs fix(napi-derive): implement missing trait for JsClass reference 2022-01-06 16:19:43 +08:00
enum.rs feat(napi): allow empty enums 2022-03-06 23:12:31 +08:00
error.rs throw if napi function returns Err variant of Result<T> 2021-10-27 14:42:57 +08:00
external.rs feat(napi): support external deref/derefMut 2021-12-11 13:42:46 +08:00
fn_strict.rs fix(napi): missing ValidateNapiValue trait for types 2022-03-06 14:20:36 +08:00
fn_ts_override.rs feat(napi-derive): support renmae function args and return type 2021-11-26 17:26:14 +08:00
js_mod.rs style: clippy fix 2022-03-05 23:05:04 +08:00
lib.rs feat(napi): experimental class reference API 2022-04-13 13:24:53 +08:00
map.rs test(napi): add tests for hashmap <-> object 2021-12-19 23:17:54 +08:00
nullable.rs fix(napi-derive-backend): Null and Undefined return type 2021-12-18 13:42:55 +08:00
number.rs Full qualify types 2021-11-14 23:34:44 +00:00
object.rs feat(napi): with_value method on Property 2022-02-06 16:26:00 +08:00
promise.rs feat(napi): await Promise<T> in async fn 2021-11-15 16:54:55 +08:00
reference.rs feat(napi): support return Reference on class instance 2022-04-26 18:21:55 +08:00
serde.rs feat: impl FromNapiValue for serde_json::Number, fix it for Null, throw for impossible types (#1052) 2022-02-06 11:58:17 +08:00
string.rs Fix String roundtrip with interior nul bytes 2022-02-04 16:52:44 +08:00
symbol.rs feat(napi): improve symbol support 2021-11-15 23:10:15 +08:00
task.rs feat(napi): support export rust mod as ts namespace 2021-11-25 17:53:43 +08:00
threadsafe_function.rs fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception 2021-12-14 12:47:23 +08:00
typed_array.rs test(napi): add test for multiple empty buffers 2022-04-23 12:27:47 +02:00