We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09c658 commit affecaeCopy full SHA for affecae
test-app/runtime/src/main/cpp/runtime/weakref/WeakRef.cpp
@@ -27,7 +27,7 @@ void WeakRef::Init(napi_env env) {
27
28
napi_value wr;
29
napi_get_named_property(env, global, "WeakRef", &wr);
30
- if (!napi_util::is_null_or_undefined(env, wr)) {
+ if (napi_util::is_null_or_undefined(env, wr)) {
31
napi_value cons;
32
napi_define_class(env, "WeakRef", NAPI_AUTO_LENGTH, New, nullptr, 2, properties, &cons);
33
napi_set_named_property(env, global, "WeakRef", cons);
0 commit comments