napi-rs/crates/backend/src
JoostK 8652019c94
fix(napi-derive): an Option in front of a required parameter is no longer optional in TypeScript
This fixes a bug where having a parameter of type `Option<T>` followed by required parameters
would incorrectly declare the parameter as option in the TypeScript declaration file, resulting
in invalid syntax.
2022-01-23 18:57:01 +08:00
..
codegen fix(napi-derive): implement missing trait for JsClass reference 2022-01-06 16:19:43 +08:00
typegen fix(napi-derive): an Option in front of a required parameter is no longer optional in TypeScript 2022-01-23 18:57:01 +08:00
ast.rs feat(napi-derive): add ts_type attribute to override typtescript type for fields in structs 2022-01-23 18:45:41 +08:00
codegen.rs feat(napi): support TypedArray input and output 2021-12-02 11:26:52 +08:00
error.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
lib.rs feat(napi): add ts typegen skip 2021-12-19 19:45:21 +08:00
typegen.rs fix(napi-derive): correctly escape backslash in type definition doc comments (#1034) 2022-01-17 12:38:16 +08:00