errors.fyi community error code reference
TS7034
typescript

Variable Implicitly Has any in Some Locations

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.

References

← all namespaces