From 37f9026834a89b593dfc1c4f4a9f68b6d31f57bc Mon Sep 17 00:00:00 2001 From: Bill Gallafent Date: Wed, 20 Mar 2019 12:05:38 +0000 Subject: [PATCH] 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) ;) --- doc/number.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/number.md b/doc/number.md index 7cf70ae27..d6031013d 100644 --- a/doc/number.md +++ b/doc/number.md @@ -43,7 +43,7 @@ Creates a new instance of a `Napi::Number` object. ### Int32Value -Converts a `Napi::Number` value to a `uint32_t` primitive type. +Converts a `Napi::Number` value to a `int32_t` primitive type. ```cpp Napi::Number::Int32Value() const;