Fix more errors
This commit is contained in:
parent
9a920f86d2
commit
af443bff96
|
@ -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',
|
||||
|
|
|
@ -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),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue