From 30c9cb556f756036938ee47376f16a59c4706774 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). PR-URL: https://github.com/nodejs/node/pull/33319 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson Reviewed-By: Gabriel Schulhof --- 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 abf08013e54019..0969b435fb718c 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