Skip to content

Commit 4f0cd64

Browse files
danbevcodebytere
authored andcommitted
doc: fix typo in n-api.md
This commit fixes what I think is a typo, even though the section in question does talk about a environment (env). PR-URL: #33319 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
1 parent f3129b2 commit 4f0cd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Native addons may need to allocate global state of which they make use during
369369
their entire life cycle such that the state must be unique to each instance of
370370
the addon.
371371

372-
To this env, N-API provides a way to allocate data such that its life cycle is
372+
To this end, N-API provides a way to allocate data such that its life cycle is
373373
tied to the life cycle of the Agent.
374374

375375
### napi_set_instance_data

0 commit comments

Comments
 (0)