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:
parent
edda01e438
commit
236e576d1e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue