fix(e2e): type the codegen-gate fixture shas so tsc -b passes

The Record<string, string> index type made every sha string | undefined under
noUncheckedIndexedAccess, which vitest and eslint did not see but tsc -b did.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Sergey Kozyrenko
2026-07-26 00:08:29 +07:00
co-authored by Claude Opus 4.8
parent ae1d600c2c
commit 4e6fd844f4
+1 -1
View File
@@ -7,7 +7,7 @@ import { afterAll, beforeAll, describe, expect, it } from 'vitest';
const SCRIPT = join(__dirname, '..', '..', '.github', 'scripts', 'codegen-inputs-changed.sh');
let repo = '';
const sha: Record<string, string> = {};
const sha = { base: '', merge: '', schema: '', unrelated: '' };
const git = (...args: string[]) => execFileSync('git', ['-C', repo, ...args], { encoding: 'utf8' }).trim();