Type Annotations can only be used in TypeScript Files - Lots of error

Hi, I was working on the Aug’22 release stable/jitsi-meet_7648 . I made a lot changes in jitsi-meet and make dev in local working fine after development completed.

I was struggling with make command, it throw lots of error regarding the Type Annotation can only be used in TypeScripts How can I prevent that and create a build successfully.

Any quick way to fix it without resolving each one by one?

Don’t tag people in your requests for help unless they’re already helping you with the issue at hand.

okay! Removed but any solution for it. Please share.