Skip to content

Commit 0d33cd8

Browse files
committed
fixup! WIP
1 parent bdd9614 commit 0d33cd8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/deprecated.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function wrap(func, msg) {
1616
wrapped.prototype = func.prototype;
1717
}
1818
return wrapped;
19-
};
19+
}
2020

2121
/**
2222
* Returns a string which can be supplied to `wrap()` to notify the user that a
@@ -27,7 +27,7 @@ export function wrap(func, msg) {
2727
*/
2828
export function defaultMsg(packageName, funcName) {
2929
return `${packageName}.${funcName} is deprecated and will be removed from the public API in a future version of ${packageName}.`;
30-
};
30+
}
3131

3232
/**
3333
* Prints a warning on the console, when it exists
@@ -44,10 +44,10 @@ export function printWarning(msg) {
4444
} else {
4545
console.log(msg);
4646
}
47-
};
47+
}
4848

4949
export default {
5050
defaultMsg,
5151
printWarning,
52-
wrap
53-
}
52+
wrap,
53+
};

0 commit comments

Comments
 (0)