ArduPilot / WebTools

GNU General Public License v3.0
34 stars 45 forks source link

# Migrate Repository to TypeScript #237

Open naman9271 opened 1 month ago

naman9271 commented 1 month ago

Description

This issue proposes migrating the entire codebase from JavaScript to TypeScript to improve type safety, developer experience, and long-term maintainability.

Why TypeScript?

naman9271 commented 1 month ago

@IamPete1 Please assign me this issue so that i start working on it

IamPete1 commented 1 month ago

So far there is no build/deploy step. That extra setup will be a burden on some devs. What I would like to do as a first step is add checking to CI that could optionally be run locally. I have attempted to do this in the past but failed to find a away to get eslint to deal with HTLM directly and pull the correct includes.

Once we have checking on the existing JS we could think about moving to TypeScript one file at a time.

naman9271 commented 1 month ago

ok @IamPete1 thanks for feedback i start working on it