@@ -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);
@@ -601,9 +601,10 @@ static Intercepted EnvDeleterIndexed(
601601 return EnvDeleter (name, info);
602602}
603603
604- static Intercepted EnvDefinerIndexed (uint32_t index,
605- const PropertyDescriptor& desc,
606- const PropertyCallbackInfo<void >& info) {
604+ static Intercepted EnvDefinerIndexed (
605+ uint32_t index,
606+ const PropertyDescriptor& desc,
607+ const PropertyCallbackInfo<Boolean>& info) {
607608 Environment* env = Environment::GetCurrent (info);
608609 Local<Name> name = Uint32ToString (env->context (), index);
609610 return EnvDefiner (name, desc, info);
0 commit comments