Fixing TypeScript Error: Subsequent Variable Declarations Must Have Same Type | DailyDevLists