I was addressing the second part of your comment. TypeScript is a static type checker. It operates at compile time. There is nothing to &quot;disable&quot; at runtime.<p>But yes, regarding your original question, you are correct, aggressive optimization is a non-goal of TypeScript. It won&#x27;t improve performance.