My Learning Curve

Feed / Total TypeScript

Explained: Cannot redeclare block-scoped variable (article)

Wednesday, August 2, 2023

If you receive a "Cannot redeclare block-scoped variable 'name'" error in TypeScript, it can be resolved by renaming the variable or changing its scope.

Read original article ↗