Don't let people scare you with their FUD. I'd bet Typescript actually generates better VanillaJS code than any of the human-generated JS around here. We had a client experiencing this issue with 2019.1 and NS did a hotfix release for the defect with client scripts.