Skip to content

Commit 291ed73

Browse files
committed
doc: correct return type of Int32Value to int32_t
It currently reads uint32_t, which would be very strange, and is also untrue (I checked napi.h) ;) PR-URL: nodejs/node-addon-api#459 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: NickNaso <nicoladelgobbo@gmail.com>
1 parent 52d4929 commit 291ed73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Creates a new instance of a `Napi::Number` object.
4343

4444
### Int32Value
4545

46-
Converts a `Napi::Number` value to a `uint32_t` primitive type.
46+
Converts a `Napi::Number` value to a `int32_t` primitive type.
4747

4848
```cpp
4949
Napi::Number::Int32Value() const;

0 commit comments

Comments
 (0)