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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: tidy up the typings of the build result in dev #267

Merged

Conversation

petebacondarwin
Copy link
Contributor

In #262 some of the strict null fixes were removed to resolve a regression.
This refactor re-applies these fixes in a way that avoids that problem.

@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2022

🦋 Changeset detected

Latest commit: 31ac9a0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

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

In cloudflare#262 some of the strict null fixes were removed to resolve a regression.
This refactor re-applies these fixes in a way that avoids that problem.
@petebacondarwin
Copy link
Contributor Author

I ran wrangler dev on a local project after this change and it appears to be OK. Not sure what the specific failing use case was that #262 was resolving?

@petebacondarwin petebacondarwin merged commit e22f9d7 into cloudflare:main Jan 19, 2022
@petebacondarwin petebacondarwin deleted the strict-null-checks-dev-2 branch January 19, 2022 09:01
@github-actions github-actions bot mentioned this pull request Jan 19, 2022
@threepointone
Copy link
Contributor

That test should be sufficient for this. Previously, when it started, the effect would run twice, and it would try to call resolve result.stop and throw because result was undefined

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

2 participants