From 72b1975cfffbc55a04c64047467d7dd0bfa2934e Mon Sep 17 00:00:00 2001 From: Ryuichi Okumura Date: Mon, 11 Mar 2019 21:16:16 +0900 Subject: [PATCH] doc: fix links to the Property Descriptor docs PR-URL: https://github.com/nodejs/node-addon-api/pull/458 Reviewed-By: Michael Dawson Reviewed-By: NickNaso --- doc/object.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/object.md b/doc/object.md index 1935664b5..8bee8b653 100644 --- a/doc/object.md +++ b/doc/object.md @@ -142,7 +142,7 @@ Note: This is equivalent to the JavaScript instanceof operator. ```cpp void Napi::Object::DefineProperty (const Napi::PropertyDescriptor& property); ``` -- `[in] property`: A [`Napi::PropertyDescriptor`](propertydescriptor.md). +- `[in] property`: A [`Napi::PropertyDescriptor`](property_descriptor.md). Define a property on the object. @@ -151,7 +151,7 @@ Define a property on the object. ```cpp void Napi::Object::DefineProperties (____ properties) ``` -- `[in] properties`: A list of [`Napi::PropertyDescriptor`](propertydescriptor.md). Can be one of the following types: +- `[in] properties`: A list of [`Napi::PropertyDescriptor`](property_descriptor.md). Can be one of the following types: - const std::initializer_list& - const std::vector&