Skip to content

Commit

Permalink
docs: fix typo and formatting (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
strager authored Sep 10, 2021
1 parent 62b666c commit 22a2f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/object_wrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22a2f3c

Please sign in to comment.