diff --git a/src/node_external_reference.h b/src/node_external_reference.h index 5981e9db9c3bc4..00d6a575f0d021 100644 --- a/src/node_external_reference.h +++ b/src/node_external_reference.h @@ -10,7 +10,7 @@ namespace node { -using CFunctionCallbackWithalueAndOptions = bool (*)( +using CFunctionCallbackWithValueAndOptions = bool (*)( v8::Local, v8::Local, v8::FastApiCallbackOptions&); using CFunctionCallbackWithMultipleValueAndOptions = bool (*)(v8::Local, @@ -103,7 +103,7 @@ class ExternalReferenceRegistry { #define ALLOWED_EXTERNAL_REFERENCE_TYPES(V) \ V(CFunctionA) \ V(CFunctionCallback) \ - V(CFunctionCallbackWithalueAndOptions) \ + V(CFunctionCallbackWithValueAndOptions) \ V(CFunctionCallbackWithMultipleValueAndOptions) \ V(CFunctionCallbackWithOneByteString) \ V(CFunctionCallbackReturnBool) \