Use stable TypeScript 7 compiler (#11666)