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.
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.