Skip to content

Add the final manual type declarations #1107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Add the final manual type declarations #1107

merged 2 commits into from
Jul 1, 2024

Conversation

rowanmanning
Copy link
Member

This adds type declarations to the final package: it's the most complex but I decided to just replicate the existing generated types. Because we no longer need a build step I'm removing all of the build-related tooling and updating the documentation accordingly.

This unlocks the ability to migrate to TypeScript 5.5 which is also included in this PR. It may be easier to review each commit separately because the second one moves types into @import statements across the board.

This resolves #946.

This is the final package we need to add manual type declarations for,
it's also the most complex but I decided to just replicate the existing
generated types.

Because we no longer need a build step I'm removing all of the
build-related tooling and updating the documentation accordingly.

Resolves #946
Now that we've got manual type declarations we can _finally_ safely
migrate to TypeScript 5.5. Phew.
@rowanmanning rowanmanning requested review from next-team and a team as code owners July 1, 2024 06:49
@rowanmanning rowanmanning enabled auto-merge (rebase) July 1, 2024 11:18
Copy link
Contributor

@CyntiBinti CyntiBinti left a comment

Choose a reason for hiding this comment

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

Woohoo 🙌🏽 🚀

@rowanmanning rowanmanning merged commit 5900d42 into main Jul 1, 2024
14 checks passed
@rowanmanning rowanmanning deleted the logger-types branch July 1, 2024 11:56
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.

Write manual type declarations for all modules
2 participants