diff --git a/damper.mjs b/damper.mjs index 1594768..2e5562f 100644 --- a/damper.mjs +++ b/damper.mjs @@ -35,7 +35,7 @@ * @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License * @author Arsen Mirzaev Tatyano-Muradovich */ -export function damper(func, timeout = 300, force) { +export default function damper(func, timeout = 300, force) { // Declaring the timer for executing the function let timer;