TypeScript doesn&#x27;t do any runtime checks, AFAIK. In fact, that&#x27;s one of their stated goals: &quot;Impose no runtime overhead on emitted programs.&quot; <a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;TypeScript&#x2F;wiki&#x2F;TypeScript-Design-Goals" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;TypeScript&#x2F;wiki&#x2F;TypeScript-Desi...</a>