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:
Michael Dawson authored and Anna Henningsen committed 2018-05-14 18:36:15 +02:00
1 parent 1248ce1645
commit 7dcfe72a25
1 file changed
+2 -2
+2 -2
View File
@@ -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.