From 5a2cd93708ad19ce46c67089316bd06246021fbc Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sat, 27 May 2023 13:33:42 +0800 Subject: [PATCH] fix(napi): missing ValidateNapiValue for JsObject (#1606) --- crates/napi/src/bindgen_runtime/js_values/object.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/napi/src/bindgen_runtime/js_values/object.rs b/crates/napi/src/bindgen_runtime/js_values/object.rs index 9396e6e7..50d3b11d 100644 --- a/crates/napi/src/bindgen_runtime/js_values/object.rs +++ b/crates/napi/src/bindgen_runtime/js_values/object.rs @@ -88,3 +88,5 @@ impl TypeName for Object { ValueType::Object } } + +impl ValidateNapiValue for JsObject {}