diff --git a/eslint.config.mjs b/eslint.config.mjs index c26ced4..074f07a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -97,6 +97,7 @@ export default tseslint.config( '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/prefer-nullish-coalescing': 'off', '@typescript-eslint/no-deprecated': 'off', + '@typescript-eslint/restrict-plus-operands': 'off', 'no-empty': 'off', }, }, diff --git a/package.json b/package.json index 5884af7..6fdd45a 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "prettier": "^3.3.3", "rimraf": "^6.0.1", "standard-changelog": "^6.0.0", - "typescript": "^5.3.3", + "typescript": "~5.6.0", "typescript-eslint": "^8.0.1", "vitest": "^2.0.5", "webpack": "^5.93.0", diff --git a/src/tabixIndexedFile.ts b/src/tabixIndexedFile.ts index 9bdee70..9dd987f 100644 --- a/src/tabixIndexedFile.ts +++ b/src/tabixIndexedFile.ts @@ -291,7 +291,6 @@ export default class TabixIndexedFile { checkAbortSignal(opts.signal) - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands const maxFetch = (firstDataLine?.blockPosition || 0) + maxBlockSize // TODO: what if we don't have a firstDataLine, and the header // actually takes up more than one block? this case is not covered here diff --git a/yarn.lock b/yarn.lock index 2939839..29062b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4061,10 +4061,10 @@ typescript-eslint@^8.0.1: "@typescript-eslint/parser" "8.16.0" "@typescript-eslint/utils" "8.16.0" -typescript@^5.3.3: - version "5.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" - integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== +typescript@~5.6.0: + version "5.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" + integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== uglify-js@^3.1.4: version "3.19.3"