Skip to content

Commit b6e844e

Browse files
authored
doc: fix spelling of "targeted" and "targeting" (#904)
1 parent 4d856f6 commit b6e844e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ npm install
178178
npm test --disable-deprecated
179179
```
180180

181-
To run the tests targetting a specific version of N-API run
181+
To run the tests targeting a specific version of N-API run
182182
```
183183
npm install
184184
export NAPI_VERSION=X

doc/typed_threadsafe_function.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ New(napi_env env,
8787
8888
Returns a non-empty `Napi::TypedThreadSafeFunction` instance.
8989
90-
Depending on the targetted `NAPI_VERSION`, the API has different implementations
90+
Depending on the targeted `NAPI_VERSION`, the API has different implementations
9191
for `CallbackType callback`.
9292
93-
When targetting version 4, `callback` may be:
93+
When targeting version 4, `callback` may be:
9494
- of type `const Function&`
9595
- not provided as a parameter, in which case the API creates a new no-op
9696
`Function`
9797
98-
When targetting version 5+, `callback` may be:
98+
When targeting version 5+, `callback` may be:
9999
- of type `const Function&`
100100
- of type `std::nullptr_t`
101101
- not provided as a parameter, in which case the API passes `std::nullptr`

0 commit comments

Comments
 (0)