init at work
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
# Semicolons in TypeScript
|
||||
|
||||
Semicolons terminate statements.
|
||||
|
||||
## Example
|
||||
|
||||
```ts
|
||||
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.
|
||||
Reference in New Issue
Block a user