From 514d5c38cbbadd3a1c1df7d6fca56e1cf31d1530 Mon Sep 17 00:00:00 2001 From: Bjorn Stromberg Date: Thu, 3 Aug 2023 07:59:56 +0900 Subject: [PATCH] Add deprecation message Co-authored-by: Sindre Sorhus --- source/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.ts b/source/index.ts index 586bc1c..8d94b82 100644 --- a/source/index.ts +++ b/source/index.ts @@ -234,7 +234,7 @@ const is = Object.assign( boundFunction: isBoundFunction, buffer: isBuffer, class: isClass, - /** @deprecated */ + /** @deprecated Renamed to `class`. */ class_: isClass, dataView: isDataView, date: isDate,