4719caa643
* feat(napi): support to use tuple with either (#1993) `Either` uses `ValidateNapiValue` + `TypeName` to validate and report error on value not being matched. So there's no way to remove these super traits from it. So I implemented these types to `Tuple` types. * feat(napi): support `Return` generic of ThreadsafeFunction * depracate JsFunction * CalleeHandled tsfn should handle Result in callback * Pass env to call_with_return_value callback * Fix compile * clippy fix * Fix electron test * Function args --------- Co-authored-by: Hana <andywangsy@gmail.com>
516 B
516 B
Snapshot report for __tests__/values.spec.ts
The actual snapshot is saved in values.spec.ts.snap
.
Generated by AVA.
serde-json
Snapshot 1
[
'@napi-rs/cli',
'@napi-rs/triples',
'@napi-rs/wasm-runtime',
'@types/lodash',
'@vitest/browser',
'@vitest/ui',
'ava',
'cross-env',
'electron',
'lodash',
'rxjs',
'sinon',
'vite',
'vite-plugin-node-polyfills',
'vitest',
'webdriverio',
]