Skip to content

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

Merged
petebacondarwin merged 1 commit intocloudflare:mainfrom
petebacondarwin:strict-null-checks-dev-2
Jan 19, 2022
Merged

refactor: tidy up the typings of the build result in dev#267
petebacondarwin merged 1 commit intocloudflare:mainfrom
petebacondarwin:strict-null-checks-dev-2

Conversation

@petebacondarwin
Copy link
Copy Markdown
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
Copy Markdown

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 petebacondarwin force-pushed the strict-null-checks-dev-2 branch from ecf251f to 31ac9a0 Compare January 19, 2022 07:04
@petebacondarwin
Copy link
Copy Markdown
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
Copy Markdown
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

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

3 participants