fix: use literal union types in RuntimeErrorJSON for type safety (#1034)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-17 18:30:17 -06:00 committed by GitHub
parent edda01e438
commit 236e576d1e

View file

@ -23,8 +23,8 @@ export interface EvidenceCheckJSON {
}
export interface RuntimeErrorJSON {
source: string;
severity: string;
source: "bg-shell" | "browser";
severity: "crash" | "error" | "warning";
message: string;
blocking: boolean;
}