Judging the security of an application based on its use of typescript is like when people judge the intelligence of a person depending on if they have an English or an American accent.
While we're doing analogies: I don't think it's like judging someone's intelligence from their accent. It's more like betting (or not) on the Jamaican bobsleigh team for an olympic medal. -- Certain programming languages invite buggy code more than others. Certain countries are a better environment than others for winter sports.