are semicolons optional in typescript?
Semicolons are not free and they do not make code safer. They are unnecessary in TypeScript and here's why. ... Semicolons in JavaScript are optional due to Automatic Semicolon Insertion (ASI).