Skip to content

Commit

Permalink
doc: fix spelling of "targeted" and "targeting" (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen authored Feb 12, 2021
1 parent 4d856f6 commit b6e844e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ npm install
npm test --disable-deprecated
```

To run the tests targetting a specific version of N-API run
To run the tests targeting a specific version of N-API run
```
npm install
export NAPI_VERSION=X
Expand Down
6 changes: 3 additions & 3 deletions doc/typed_threadsafe_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ New(napi_env env,
Returns a non-empty `Napi::TypedThreadSafeFunction` instance.
Depending on the targetted `NAPI_VERSION`, the API has different implementations
Depending on the targeted `NAPI_VERSION`, the API has different implementations
for `CallbackType callback`.
When targetting version 4, `callback` may be:
When targeting version 4, `callback` may be:
- of type `const Function&`
- not provided as a parameter, in which case the API creates a new no-op
`Function`
When targetting version 5+, `callback` may be:
When targeting version 5+, `callback` may be:
- of type `const Function&`
- of type `std::nullptr_t`
- not provided as a parameter, in which case the API passes `std::nullptr`
Expand Down

0 comments on commit b6e844e

Please sign in to comment.