From 0d33cd82060944f3dc8d23f2e710c4ab142a8d02 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Mon, 1 Jan 2024 09:51:22 +0100 Subject: [PATCH] fixup! WIP --- lib/deprecated.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/deprecated.js b/lib/deprecated.js index 9a7c0bc..849f0b8 100644 --- a/lib/deprecated.js +++ b/lib/deprecated.js @@ -16,7 +16,7 @@ export function wrap(func, msg) { wrapped.prototype = func.prototype; } return wrapped; -}; +} /** * Returns a string which can be supplied to `wrap()` to notify the user that a @@ -27,7 +27,7 @@ export function wrap(func, msg) { */ export function defaultMsg(packageName, funcName) { return `${packageName}.${funcName} is deprecated and will be removed from the public API in a future version of ${packageName}.`; -}; +} /** * Prints a warning on the console, when it exists @@ -44,10 +44,10 @@ export function printWarning(msg) { } else { console.log(msg); } -}; +} export default { defaultMsg, printWarning, - wrap -} + wrap, +};