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

Deprioritize declaration emit paths from baseUrl containing node_modules #57145

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

andrewbranch
Copy link
Member

Fixes error TS2742: The inferred type of 'resolveParserPlugins' cannot be named without a reference to 'packages/compiler-core/node_modules/@babel/parser/typings/babel-parser'. This is likely not portable. A type annotation is necessary. reported in #57117. (It bisected to #55015, though it’s not clear why, and doesn’t seem like that PR directly introduced the buggy behavior.)

Also worth noting that Vue should almost certainly not be using baseUrl at all.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jan 23, 2024
@jakebailey
Copy link
Member

Does this need a cherry-pick or are we okay with a temporary break in the beta?

@andrewbranch
Copy link
Member Author

IMO the beta only exists to be a timestamp; it’s not a build anyone should use. Every beta is expected to have all the features and none of the bugfixes.

@andrewbranch andrewbranch merged commit 25a4f9e into microsoft:main Jan 23, 2024
19 checks passed
@andrewbranch andrewbranch deleted the bug/57117-vuejs-core branch January 23, 2024 21:31
@andrewbranch
Copy link
Member Author

@typescript-bot cherry-pick to release-5.4

@typescript-bot
Copy link
Collaborator

Heya @andrewbranch, I've started to cherry-pick this into release-5.4 for you. Here's the link to my best guess at the log.

@typescript-bot
Copy link
Collaborator

Hey @andrewbranch, I've created #57162 for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants