Add deprecation message

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
Bjorn Stromberg 2023-08-03 07:59:56 +09:00 committed by GitHub
parent ca30df8046
commit 514d5c38cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,