Skip to content

feat(napi-derive): allow ts_type in napi fn attrs#2362

Merged
Brooooooklyn merged 2 commits intonapi-rs:mainfrom
Frank-III:allow-ts-types-fn
Nov 22, 2024
Merged

feat(napi-derive): allow ts_type in napi fn attrs#2362
Brooooooklyn merged 2 commits intonapi-rs:mainfrom
Frank-III:allow-ts-types-fn

Conversation

@Frank-III
Copy link
Copy Markdown
Contributor

address: ##2353

I don't know if there is anything I am missing, please review the code 🙏

@Frank-III Frank-III changed the title feat: allow ts_type in fn attrs feat: allow ts_type in napi fn attrs Nov 18, 2024
@Brooooooklyn
Copy link
Copy Markdown
Member

@Frank-III thanks for contributing, could you please add test cases in https://github.com/napi-rs/napi-rs/blob/main/examples/napi/src/fn_ts_override.rs? and run yarn build:test && yarn workspace @examples/napi test -u to update the test snapshots.

@Brooooooklyn Brooooooklyn changed the title feat: allow ts_type in napi fn attrs feat(napi-derive): allow ts_type in napi fn attrs Nov 21, 2024
@Brooooooklyn Brooooooklyn merged commit 8b474f9 into napi-rs:main Nov 22, 2024
@Frank-III
Copy link
Copy Markdown
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants