diff options
Diffstat (limited to 'src/bun.js/scripts/generate-classes.ts')
-rw-r--r-- | src/bun.js/scripts/generate-classes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/scripts/generate-classes.ts b/src/bun.js/scripts/generate-classes.ts index 6689667b2..aa0eab9d8 100644 --- a/src/bun.js/scripts/generate-classes.ts +++ b/src/bun.js/scripts/generate-classes.ts @@ -823,7 +823,7 @@ JSC_DEFINE_CUSTOM_GETTER(${symbolName( typeName, proto[name].getter, )}(thisObject->wrapped(),${ - proto[name].this!! ? " thisValue, " : "" + !!proto[name].this ? " thisValue, " : "" } globalObject); RETURN_IF_EXCEPTION(throwScope, {}); RELEASE_AND_RETURN(throwScope, result); @@ -852,7 +852,7 @@ JSC_DEFINE_CUSTOM_SETTER(${symbolName( typeName, proto[name].setter || proto[name].accessor.setter, )}(thisObject->wrapped(),${ - proto[name].this!! ? " thisValue, " : "" + !!proto[name].this ? " thisValue, " : "" } lexicalGlobalObject, encodedValue); RELEASE_AND_RETURN(throwScope, result); |