From 22a2f3c92695ebc4a7e8f1040d8a58932e25591c Mon Sep 17 00:00:00 2001 From: strager Date: Fri, 10 Sep 2021 13:13:11 -0700 Subject: [PATCH] docs: fix typo and formatting (#1062) --- 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 7b8fc9c28..da07448d9 100644 --- a/doc/object_wrap.md +++ b/doc/object_wrap.md @@ -160,7 +160,7 @@ static T* Napi::ObjectWrap::Unwrap(Napi::Object wrapper); * `[in] wrapper`: The JavaScript object that wraps the native instance. Returns a native instance wrapped in a JavaScript object. Given the -Napi:Object, this allows a method to get a pointer to the wrapped +`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 use the `this` field for ObjectWrap when running in a method on a