DEV Community

KIranuknow
KIranuknow

Posted on

Typescript - Best Practices

Let, Var and Const

Use const for variables that won't be reassigned.
Use let for variables that will be reassigned.
Avoid var in new TypeScript code.

Best References:
AWS TypeScript

Top comments (0)