Skip to content

Commit e2ca39b

Browse files
committed
fix: replace any types with unknown in DataSource and AggregatedData interfaces
1 parent 726a352 commit e2ca39b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/frontend/src/types/data-aggregator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export interface DataSource {
66
timeout?: number;
77
retryCount?: number;
88
headers?: Record<string, string>;
9-
transform?: (data: any) => any;
9+
transform?: (data: unknown) => unknown;
1010
}
1111

1212
export interface AggregatedData {
1313
sourceId: string;
14-
data: any;
14+
data: unknown;
1515
timestamp: Date;
1616
status: 'success' | 'error' | 'pending';
1717
error?: string;

0 commit comments

Comments
 (0)