Fix ts-nocheck in replace-weapon-names.ts

This commit is contained in:
Kalle
2026-04-26 16:40:20 +03:00
parent b0acdae69c
commit 51d3b8df2b

View File

@@ -1,5 +1,3 @@
// @ts-nocheck
import fs from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";
@@ -63,8 +61,8 @@ async function main() {
continue;
}
const weapon: any = weapons.find(
(weapon: any) =>
const weapon = (weapons as Array<{ __RowId: string; Id: number }>).find(
(weapon) =>
file.includes(`${weapon.__RowId}.`) ||
file.includes(`${weapon.__RowId}_`),
);