ArduPilot / ArduPilot/WebTools

# Migrate Repository to TypeScript

Open
#237 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
62
Forks
92
Avg merge
1d 23h
Merged PRs (30d)
2

Description

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

## Why TypeScript?
- **Type Safety**: Catch errors during development instead of runtime.
- **Better Tooling**: Enhanced IDE autocompletion, refactoring, and inline documentation.
- **Scalability**: Clear interfaces and type definitions simplify collaboration.
- **Gradual Adoption**: Existing `.js` files can coexist during migration using `allowJs`.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files, tests, or entry points. Start by inventorying the JavaScript codebase and existing build configuration, then define a staged migration plan using allowJs; done would require the repository to be migrated to TypeScript with the stated type-safety and tooling goals met.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
developer-experience, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.