Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Miniflare 3] Bump to TypeScript 5 and fix bundled TypeScript output #635

Merged
merged 3 commits into from Jul 21, 2023

Conversation

mrbbot
Copy link
Contributor

@mrbbot mrbbot commented Jul 21, 2023

This PR includes a bunch of small changes to fix Miniflare's types. The combination of changes fixes #634. See the commit descriptions for a summary of each. 馃憤

TypeScript 5 includes lots of goodies, and allows us to remove a
bunch of `@ts-expect-error`s.
@mrbbot mrbbot requested a review from a team July 21, 2023 09:53
@changeset-bot
Copy link

changeset-bot bot commented Jul 21, 2023

鈿狅笍 No Changeset found

Latest commit: 23ccf01

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This loosens some resolution rules in accordance with how bundlers
like `esbuild` resolve modules. This also allows us to remove a bunch
of `@ts-expect-error`s.
This probably wasn't a problem, but generally it's not great to have
cyclic dependencies. For future reference, this was found with
`npx madge --circular --extensions ts packages/miniflare/src`.
@mrbbot mrbbot merged commit b8c93f1 into tre Jul 21, 2023
8 checks passed
@mrbbot mrbbot deleted the bcoll/tre-fix-types branch July 21, 2023 20: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.

None yet

3 participants