Question: are semicolons optional in typescript?
Answer: 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).