Fix more errors

This commit is contained in:
Isra 2024-03-14 23:39:44 -05:00
parent 9a920f86d2
commit af443bff96
2 changed files with 2 additions and 1 deletions

View File

@ -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',

View File

@ -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),
);