The ability to programmatically generate methods&#x2F;classes can be really powerful and, as far as I can tell, impossible with Typescript (and most statically typed languages).<p>Back in my Backbone + CoffeeScript days, I reimplemented Rails style has_many&#x2F;belongs_to &quot;class methods&quot; on Backbone.Model, and it was incredibly useful. But would&#x27;ve been doubly so if I could have had it statically checked somehow.