Boilerplate Parse Server in javascript

Is it possible to keep the code of the Cloud Functions used in Moralis written in .js files in the Parse server without converting the whole code in .ts?
Is there a boilerplate code to be used?

It doesn’t work if they are in .js?

You will have to do some changes to the original code that works on a managed moralis server, for example to change from Moralis. to Parse. for parse server specific functionalities.