CMU-17313Q / NodeBB-f23

GNU General Public License v3.0
0 stars 39 forks source link

Finished translation of file src/prestart.js to typescript. This will close issue #36 #92

Open fatimaj21 opened 1 year ago

fatimaj21 commented 1 year ago

This pull request finishes the translation of file src/prestart.js from javascript to typescript. This translation has been done in order to gracefully and incrementally move the parent repository to typescript. Keeping in mind that some modules have not been translated to typescript yet, I have used an eslint feature to work with existing modules such that they won't show up in linting errors. This feature can be used by putting this 'eslint-disable-next-line @typescript-eslint/no-unsafe-member-access' in the code. I had made sure that the code complied with all the eslint restrictions and the translated file passed all lining and other tests in the parent repository.