336 B
Executable File
336 B
Executable File
Semicolons in TypeScript
Semicolons terminate statements.
Example
const x = 1;
const y = 2;
const z = x + y;
JavaScript has automatic semicolon insertion, but many teams still use explicit semicolons for consistency and fewer edge-case surprises.
Recommendation
Follow the style already used in your repository.