diff --git a/dist/main.cjs b/dist/main.cjs index 871afe1..7514e9c 100644 --- a/dist/main.cjs +++ b/dist/main.cjs @@ -190,6 +190,10 @@ Object.defineProperty(Flatten, 'DP_TOL', { * Class of system errors */ class Errors { + constructor() { + this.dummy = 0; + } + /** * Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter * @returns {ReferenceError} diff --git a/dist/main.mjs b/dist/main.mjs index ea2f5ec..31996c1 100644 --- a/dist/main.mjs +++ b/dist/main.mjs @@ -186,6 +186,10 @@ Object.defineProperty(Flatten, 'DP_TOL', { * Class of system errors */ class Errors { + constructor() { + this.dummy = 0; + } + /** * Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter * @returns {ReferenceError} diff --git a/dist/main.umd.js b/dist/main.umd.js index 60aec7c..8e45cad 100644 --- a/dist/main.umd.js +++ b/dist/main.umd.js @@ -192,6 +192,10 @@ * Class of system errors */ class Errors { + constructor() { + this.dummy = 0; + } + /** * Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter * @returns {ReferenceError} diff --git a/src/utils/errors.js b/src/utils/errors.js index e77ca06..a70c6c9 100644 --- a/src/utils/errors.js +++ b/src/utils/errors.js @@ -8,6 +8,10 @@ import Flatten from "../flatten"; * Class of system errors */ export class Errors { + constructor() { + this.dummy = 0 + } + /** * Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter * @returns {ReferenceError}