From 38d952cfd5b792c7c6a3d02abf9aaa331594b404 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sat, 9 May 2020 06:20:26 +0200 Subject: [PATCH] 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). --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 17d49726fc0c29..2758c451ebaf6e 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -369,7 +369,7 @@ Native addons may need to allocate global state of which they make use during their entire life cycle such that the state must be unique to each instance of the addon. -To this env, N-API provides a way to allocate data such that its life cycle is +To this end, N-API provides a way to allocate data such that its life cycle is tied to the life cycle of the Agent. ### napi_set_instance_data