From 31504c862b2b77e73ab805df68098d3af5a7403a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 8 Jun 2020 21:48:18 +0200 Subject: [PATCH] doc: fix minor typo in object_wrap.md (#741) PR-URL: https://github.com/nodejs/node-addon-api/pull/741 Reviewed-By: Michael Dawson Reviewed-By: Nicola Del Gobbo --- doc/object_wrap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/object_wrap.md b/doc/object_wrap.md index 5a0ec1036..cdf7ce1e2 100644 --- a/doc/object_wrap.md +++ b/doc/object_wrap.md @@ -137,7 +137,7 @@ static T* Napi::ObjectWrap::Unwrap(Napi::Object wrapper); * `[in] wrapper`: The JavaScript object that wraps the native instance. -Returns a native instace wrapped in a JavaScript object. Given the +Returns a native instance wrapped in a JavaScript object. Given the Napi:Object, this allows a method to get a pointer to the wrapped C++ object and then reference fields, call methods, etc. within that class. In many cases calling Unwrap is not required, as methods can