fix return types

This commit is contained in:
Nour Alharithi
2024-12-03 14:46:18 -08:00
parent 669d4a48fd
commit bae6bfef80
2 changed files with 7 additions and 2 deletions

View File

@@ -473,7 +473,12 @@ export type SubscriberLookup = {
};
};
export const selectMostRecentBySlot = (responses: any[]): any => {
export const selectMostRecentBySlot = (
responses: any[]
): {
slot: number;
[key: string]: any;
} => {
const parsedResponses = responses
.map((response) => {
try {