Skip to content

Commit 1ed7ad8

Browse files
gallafentmhdawson
authored andcommitted
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: #459 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: NickNaso <[email protected]>
1 parent b0f6b60 commit 1ed7ad8

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)