Skip to content

Commit

Permalink
fix: type for allowing object for table data
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed Feb 6, 2024
1 parent 381a26b commit 95a325e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view-server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { LoggerOptions } from 'pino';

export interface TableComponent {
type: 'table';
data: Record<string, unknown>[];
data: (Record<string, unknown> | object)[];
}
export interface HeaderComponent {
type: 'header';
Expand Down

0 comments on commit 95a325e

Please sign in to comment.