Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update spelling in docs based based on code review
  • Loading branch information
vmoroz committed Nov 4, 2022
commit c794f3176ebd6fda512f3ef54a94e7f3e0c836c8
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ A module can override the set of its enabled features by adding
value of the global `node_api_module_features` variable.
To check enabled features use the `node_api_is_feature_enabled` function.

For example, to disables `node_api_feature_reference_all_types` feature we can
For example, to disable `node_api_feature_reference_all_types` feature we can
exclude its bit from the `node_api_default_features` set:

```c
Expand Down Expand Up @@ -5758,7 +5758,7 @@ NAPI_EXTERN napi_status node_api_is_feature_enabled(napi_env env,
```

* `[in] env`: The environment that the API is invoked under.
* `[in] feature`: The feature that we want to test.
* `[in] feature`: The features that we want to test.
* `[out] result`: Whether the feature or a set of features are enabled.

Returns `napi_ok` if the API succeeded.
Expand Down