That sounds like that should have started with "Don't code with Typescript on the server side at all" instead. If Typescript is pretending things unsuccessfully, you might as well stick with plain Javascript. (It wouldn't surprise me if Javascript ultimately lived longer, just like Smalltalk actually outlived Strongtalk in the end.)