Skip to content

Commit

Permalink
doc: fix minor typo in object_wrap.md (#741)
Browse files Browse the repository at this point in the history
PR-URL: #741
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Nicola Del Gobbo <[email protected]>
  • Loading branch information
danbev authored Jun 8, 2020
1 parent beccf21 commit 31504c8
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 @@ -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
Expand Down

0 comments on commit 31504c8

Please sign in to comment.