Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ MORNING: string; ONE: string; TWO: string; THREE: string; FOUR: string; NOON: string; FIVE: string; SIX: string; SEVEN: string; EIGHT: string; NINE: string; AFTERCLASS: string; }'.