Skip to content

Conversation

drewhoener
Copy link
Contributor

Public API Changes
None

Overview

Prerequisite PR to #905, sets up tsconfig.json for a gradual conversion from JS -> TS.

Contents

  • Change typescript version to match what's actually in package-lock.json
  • Add eslint/js and typescript-eslint packages.
  • Set up eslint to do strict type checking for all new TS code.
  • Add a ts suppression to maintain compatibility

…igration.

Bump target version to ES6 as it meets 95% compatibility threshold.
Include es2022 lib for Object.hasOwn and other useful checks for typescript compat.
Enumerates tsconfig type checking options. Ideally, as the migration progresses, more of these feature flags can be enabled until strict mode can be turned on.
Split into a build config and a type checking config to use parser services

Signed-off-by: Drew Hoener <[email protected]>
Copy link
Contributor

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as long as it passes CI

@EzraBrooks EzraBrooks merged commit 258ea6d into RobotWebTools:develop Aug 8, 2025
2 checks passed
@drewhoener drewhoener deleted the refactor/typescript-migration-deps branch August 8, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants