PR Close #33717
This PR updates TypeScript version to 3.7 while retaining compatibility with TS3.6. PR Close #33717