diff --git a/.eslintrc.js b/.eslintrc.js index 927283f..e8ede63 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,6 +19,7 @@ module.exports = { plugins: ['@typescript-eslint', 'import', 'prettier'], rules: { 'no-plusplus': 'off', + 'class-methods-use-this': 'off', 'no-bitwise': 'off', 'no-underscore-dangle': 'off', '@typescript-eslint/no-explicit-any': 'off', diff --git a/src/providers/sources/primewire/blowfish.ts b/src/providers/sources/primewire/blowfish.ts index fe7dd9b..470de1e 100644 --- a/src/providers/sources/primewire/blowfish.ts +++ b/src/providers/sources/primewire/blowfish.ts @@ -254,7 +254,7 @@ class Blowfish { } } - block32toNum(e) { + block32toNum(e: string) { return this.fixNegative( (e.charCodeAt(0) << 24) | (e.charCodeAt(1) << 16) | (e.charCodeAt(2) << 8) | e.charCodeAt(3), );