From 3661d982a3f86752194ee9898717e1698c8b2f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 20 Mar 2021 17:46:57 +0100 Subject: [PATCH] doc: unambiguously mark deprecated signatures Currently, deprecation notices are always right between two function signatures and it's virtually impossible to be certain whether they refer to the previous signature or the next signature. --- doc/property_descriptor.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/property_descriptor.md b/doc/property_descriptor.md index 793e53626..b3785c76c 100644 --- a/doc/property_descriptor.md +++ b/doc/property_descriptor.md @@ -138,7 +138,7 @@ The name of the property can be any of the following types: - `napi_value value` - `Napi::Name` -**This signature is deprecated. It will result in a memory leak if used.** +**The above signature is deprecated. It will result in a memory leak if used.** ```cpp static Napi::PropertyDescriptor Napi::PropertyDescriptor::Accessor ( @@ -186,7 +186,7 @@ The name of the property can be any of the following types: - `napi_value value` - `Napi::Name` -**This signature is deprecated. It will result in a memory leak if used.** +**The above signature is deprecated. It will result in a memory leak if used.** ```cpp static Napi::PropertyDescriptor Napi::PropertyDescriptor::Accessor ( @@ -236,7 +236,7 @@ The name of the property can be any of the following types: - `napi_value value` - `Napi::Name` -**This signature is deprecated. It will result in a memory leak if used.** +**The above signature is deprecated. It will result in a memory leak if used.** ```cpp static Napi::PropertyDescriptor Napi::PropertyDescriptor::Function (