Skip to content

refactor(types): migrate from tsd to tstyche#264

Merged
mcollina merged 4 commits into
mercurius-js:mainfrom
Puppo:refactor/migrate-tsd-to-tstyche
May 18, 2026
Merged

refactor(types): migrate from tsd to tstyche#264
mcollina merged 4 commits into
mercurius-js:mainfrom
Puppo:refactor/migrate-tsd-to-tstyche

Conversation

@Puppo

@Puppo Puppo commented May 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Migrate type tests from tsd to tstyche
  • Update import statements and assertion syntax to use tstyche API
  • Remove tsconfig.json (tstyche uses baseline config)

Test plan

  • Run npm run typescript - all 29 assertions pass
  • Run npm test - all 79 tests pass

Puppo and others added 4 commits May 17, 2026 19:35
Migrate type tests from tsd to tstyche. Update import statements and
assertion syntax to use tstyche API.
No longer needed with tstyche assertions.
Remove explicit types from function signatures to test that the
type system correctly infers types. Test that:
- Without generics: types default to any/MercuriusContext
- With generics: types are correctly custom
@Puppo Puppo force-pushed the refactor/migrate-tsd-to-tstyche branch from f109447 to 91f965d Compare May 18, 2026 06:49
@Puppo Puppo marked this pull request as ready for review May 18, 2026 06:50

@mcollina mcollina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit c42c9c7 into mercurius-js:main May 18, 2026
10 checks passed
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