[Internal] Fix ty type-checking errors after latest release
#3978
+78
−77
ty type-checking errors after latest release
#3978