When you see the TypeScript error "element implicitly has an 'any' type because index expression is not of type 'number'", which of the following fixes the issue?
A) Change the index to a numeric value if accessing an array.
B) Add a type annotation to the array.
C) Ensure the object being indexed is of the correct type.
D) Convert the array to a tuple type.