> I think my favorite part of this is that inevitably people will write type definitions for TensorFlow.js in TypeScript
Actually, it already ships with typescript definitions - it's written in TypeScript![1]
[1] https://github.com/tensorflow/tfjs/blob/master/src/index.ts