Skip to content

Commit

Permalink
Fix type for checker sub-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Aug 11, 2023
1 parent c10ad84 commit 1884dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ export interface CheckerMessage {
/** Time in milliseconds (if run with `output-time: true`) */
time?: number;
/** Messages produced by the checker */
messages: (SolutionMessage | TraceMessage)[];
messages: (SolutionMessage | TraceMessage | ErrorMessage | WarningMessage)[];
/** Mapping between output section name and contents
*
* @deprecated Use the `messages` list to retrieve the output instead.
Expand Down

0 comments on commit 1884dce

Please sign in to comment.