DEV Community

Discussion on: Advanced TypeScript Types cheat sheet (with examples)

Collapse
 
ibrahima92 profile image
Ibrahima Ndaw

The semicolon is not mandatory, I prefer to not use it. Thanks for reading BTW

Collapse
 
garretharp profile image
Garret

No semicolon makes it look so much cleaner:)

Collapse
 
psiho profile image
Mirko Vukušić • Edited

:) so glad I don't have to see or type those anymore

Collapse
 
randalvance profile image
Randal Vance Cunanan

Use prettier, you don't even have to type it yourself.

Collapse
 
cesarkohl profile image
Cesar Kohl

It's not mandatory if you wanna go against Google: google.github.io/styleguide/jsguid... . Please reconsider.

Thread Thread
 
garretharp profile image
Garret

Theres a million different style guides, use whatever you want. No one is forced to use a specific one.