Skip to content

TSM-04: convert core entry and shared infra to TypeScript - #561

Draft
Justin Hammond (Justintime50) wants to merge 1 commit into
ts-migrate/03-type-strategy-guardrailsfrom
ts-migrate/04-core-entry-shared-infra
Draft

TSM-04: convert core entry and shared infra to TypeScript#561
Justin Hammond (Justintime50) wants to merge 1 commit into
ts-migrate/03-type-strategy-guardrailsfrom
ts-migrate/04-core-entry-shared-infra

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • rename core entry and shared modules to TypeScript: easypost, constants, util, internal_util
  • update Vite library entry to src/easypost.ts and resolve extensions for .ts + .js
  • keep runtime behavior unchanged while migration proceeds with temporary ts-nocheck on converted files
  • allow permissive incremental migration in source typecheck by setting noImplicitAny=false in tsconfig.build.json

Validation

  • npm run typescript
  • npm run build
  • npx eslint src/easypost.ts src/constants.ts src/utils/util.ts src/utils/internal_util.ts
  • npx vitest run test/services/module_exports_compat.test.js

@Justintime50 Justin Hammond (Justintime50) changed the title step4: convert core entry and shared utils to ts TSM-04: convert core entry and shared infra to TypeScript Aug 6, 2026
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from 0af98c1 to de5a155 Compare August 6, 2026 21:29
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.

1 participant