Skip to content

Commit c5002d7

Browse files
committed
refactor: changed eslint types
1 parent 852f447 commit c5002d7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

bun.lock

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"main": "./dist/index.js",
1010
"module": "./dist/index.js",
1111
"devDependencies": {
12+
"@eslint/js": "^9.21.0",
1213
"@toil/typebox-genx": "^0.0.1",
1314
"@types/bun": "latest",
14-
"@types/eslint__js": "^9.14.0",
1515
"eslint": "^9.21.0",
1616
"eslint-plugin-oxlint": "0.15.11",
1717
"husky": "^9.1.7",

src/providers/libretranslate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export default class LibreTranslateProvider extends BaseProvider {
194194
body.append("source", fromLang);
195195
body.append("target", toLang);
196196
body.append("format", "text");
197-
body.append("alternatives", 0);
197+
body.append("alternatives", "0");
198198
body.append("api_key", this.apiKey ?? "");
199199
if (this.allowUnsafeEval && this.apiUrl === this.apiUrlPlaceholder) {
200200
const { token } = await this.getSession();

0 commit comments

Comments
 (0)