A variable widens to `any` because it is assigned values of different types across multiple code paths. Provide an explicit type annotation to constrain the variable's type.
TS7034
typescript A variable widens to `any` because it is assigned values of different types across multiple code paths. Provide an explicit type annotation to constrain the variable's type.