fix: Reflect.has
@@ -1041,7 +1041,7 @@ extern "C" {
///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has
#[wasm_bindgen(static_method_of = Reflect, catch)]
- pub fn has(target: &JsValue, property_key: &JsValue) -> Result<bool, JsValue>;
+ pub fn has(target: &JsValue, property_key: &JsValue) -> Result<JsValue, JsValue>;
/// The static Reflect.isExtensible() method determines if an object is extensible
/// (whether it can have new properties added to it). It is similar to
