Add isolated typecheck test for get_frequency script

- add `scripts/get_frequency.test.ts` to verify `scripts/get_frequency.ts` typechecks alone
- remove duplicate `yomitanSession` property from runtime state/interface
This commit is contained in:
2026-03-16 01:56:00 -07:00
parent a9e33618e7
commit de574c04bd
2 changed files with 45 additions and 2 deletions

View File

@@ -484,7 +484,6 @@ interface YomitanRuntimeState {
yomitanExt: unknown | null;
yomitanSession: unknown | null;
parserWindow: unknown | null;
yomitanSession: unknown | null;
parserReadyPromise: Promise<void> | null;
parserInitPromise: Promise<boolean> | null;
available: boolean;
@@ -544,7 +543,6 @@ async function createYomitanRuntimeState(
yomitanExt: null,
yomitanSession: null,
parserWindow: null,
yomitanSession: null,
parserReadyPromise: null,
parserInitPromise: null,
available: false,