Improve Typescript typing

6 jobs for michaelt-master-patch-31210