mirror of
https://github.com/p-stream/providers.git
synced 2026-05-20 20:22:05 +00:00
Fix more errors
This commit is contained in:
parent
9a920f86d2
commit
af443bff96
2 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ module.exports = {
|
||||||
plugins: ['@typescript-eslint', 'import', 'prettier'],
|
plugins: ['@typescript-eslint', 'import', 'prettier'],
|
||||||
rules: {
|
rules: {
|
||||||
'no-plusplus': 'off',
|
'no-plusplus': 'off',
|
||||||
|
'class-methods-use-this': 'off',
|
||||||
'no-bitwise': 'off',
|
'no-bitwise': 'off',
|
||||||
'no-underscore-dangle': 'off',
|
'no-underscore-dangle': 'off',
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ class Blowfish {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
block32toNum(e) {
|
block32toNum(e: string) {
|
||||||
return this.fixNegative(
|
return this.fixNegative(
|
||||||
(e.charCodeAt(0) << 24) | (e.charCodeAt(1) << 16) | (e.charCodeAt(2) << 8) | e.charCodeAt(3),
|
(e.charCodeAt(0) << 24) | (e.charCodeAt(1) << 16) | (e.charCodeAt(2) << 8) | e.charCodeAt(3),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue