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

fix: quick "fix" of a red squiggle problem #4447

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

erights
Copy link
Member

@erights erights commented Feb 3, 2022

Applies suggestion from #4444 (comment) at a place that seems to make more red squiggles to away.

If I apply the quick "fix" to store/src/types.js itself, then checkKey.js has lots of red squiggles that don't disappear, either with or without the same quick fix applied there. However, if I apply the quick fix only there, the red squiggles go away both places.

I also searched for /// <reference types="ses"/> and visually verified that vscode doesn't show any red squiggles on the 20 matching files after this change.

If a principled change is about to arrive soon that fixes this correctly, then by all means let's not merge this PR in the meantime. What PR is that?

@erights erights requested a review from mhofman February 3, 2022 21:56
@erights erights self-assigned this Feb 3, 2022
@erights erights added the automerge:squash Automatically squash merge label Feb 3, 2022
@mhofman
Copy link
Member

mhofman commented Feb 3, 2022

#4413 is the proper fix, but it requires endojs/endo#1025, which is breaking change and requires a proper release of endo packages (unless we take the approach of temporarily vendoring-in as patches like I did in the PR)

@erights erights force-pushed the 4444-markm-quick-ambient-type-fix branch from 509e058 to c78f601 Compare February 3, 2022 22:18
@erights
Copy link
Member Author

erights commented Feb 3, 2022

#4413 is the proper fix, but it requires endojs/endo#1025, which is breaking change and requires a proper release of endo packages (unless we take the approach of temporarily vendoring-in as patches like I did in the PR)

Thanks. So I'll proceed with this one in the meantime.

@mhofman mhofman linked an issue Feb 3, 2022 that may be closed by this pull request
@mergify mergify bot merged commit ee39651 into master Feb 3, 2022
@mergify mergify bot deleted the 4444-markm-quick-ambient-type-fix branch February 3, 2022 22:55
dtribble pushed a commit that referenced this pull request Feb 4, 2022
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lots of red squiggles in fallout from move away from ambient types
2 participants