From cc34d4905de16ed2af5cca9f984bc999cff73695 Mon Sep 17 00:00:00 2001 From: John French Date: Wed, 20 Mar 2019 12:05:38 +0000 Subject: [PATCH] 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: https://github.com/nodejs/node-addon-api/pull/459 Reviewed-By: Michael Dawson Reviewed-By: NickNaso --- doc/number.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/number.md b/doc/number.md index 7cf70ae..d603101 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;