mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: fix signature for napi_create_range_error
Fixes: https://github.com/nodejs/node/issues/20623 PR-URL: https://github.com/nodejs/node/pull/20641 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
1248ce1645
commit
7dcfe72a25
1 file changed
+2
-2
+2
-2
@@ -471,9 +471,9 @@ This API returns a JavaScript `TypeError` with the text provided.
|
||||
added: v8.0.0
|
||||
-->
|
||||
```C
|
||||
NODE_EXTERN napi_status napi_create_range_error(napi_env env,
|
||||
NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
|
||||
napi_value code,
|
||||
const char* msg,
|
||||
napi_value msg,
|
||||
napi_value* result);
|
||||
```
|
||||
- `[in] env`: The environment that the API is invoked under.
|
||||
|
||||
Reference in new issue
Block a user