@@ -450,7 +450,7 @@ static Intercepted EnvGetter(Local<Name> property,
450450
451451static Intercepted EnvSetter (Local<Name> property,
452452 Local<Value> value,
453- const PropertyCallbackInfo<void >& info) {
453+ const PropertyCallbackInfo<Boolean >& info) {
454454 Environment* env = Environment::GetCurrent (info);
455455 CHECK (env->has_run_bootstrapping_code ());
456456 // calling env->EmitProcessEnvWarning() sets a variable indicating that
@@ -531,7 +531,7 @@ static void EnvEnumerator(const PropertyCallbackInfo<Array>& info) {
531531
532532static Intercepted EnvDefiner (Local<Name> property,
533533 const PropertyDescriptor& desc,
534- const PropertyCallbackInfo<void >& info) {
534+ const PropertyCallbackInfo<Boolean >& info) {
535535 Environment* env = Environment::GetCurrent (info);
536536 if (desc.has_value ()) {
537537 if (!desc.has_writable () ||
@@ -581,7 +581,7 @@ static Intercepted EnvGetterIndexed(uint32_t index,
581581
582582static Intercepted EnvSetterIndexed (uint32_t index,
583583 Local<Value> value,
584- const PropertyCallbackInfo<void >& info) {
584+ const PropertyCallbackInfo<Boolean >& info) {
585585 Environment* env = Environment::GetCurrent (info);
586586 Local<Name> name = Uint32ToString (env->context (), index);
587587 return EnvSetter (name, value, info);
@@ -603,7 +603,7 @@ static Intercepted EnvDeleterIndexed(
603603
604604static Intercepted EnvDefinerIndexed (uint32_t index,
605605 const PropertyDescriptor& desc,
606- const PropertyCallbackInfo<void >& info) {
606+ const PropertyCallbackInfo<Boolean >& info) {
607607 Environment* env = Environment::GetCurrent (info);
608608 Local<Name> name = Uint32ToString (env->context (), index);
609609 return EnvDefiner (name, desc, info);
0 commit comments