(currentEdition: string)
| 40 | ]; |
| 41 | |
| 42 | export function getPreviousEdition(currentEdition: string) { |
| 43 | const index = editions.findIndex( |
| 44 | (edition) => edition.year === currentEdition |
| 45 | ); |
| 46 | return index && index > 0 ? editions[index - 1].year : null; |
| 47 | } |
| 48 | |
| 49 | // eslint-disable-next-line @typescript-eslint/no-inferrable-types |
| 50 | export const currentEdition: string = "2026"; |