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(v6): fix ViteDevServer.environments type #17967

Conversation

hi-ogawa
Copy link
Collaborator

@hi-ogawa hi-ogawa commented Aug 29, 2024

Description

This change happened in merge main 7ad8380#diff-abb3345b6e3b2ec6d297c2ebc54cca85ae4487a31bac3cc9e78457f5114adb26R273-R276 but I don't think this is intended?
I noticed the type error in hi-ogawa/vite-environment-examples#101

Also there were a type error in own unit tests here server.environments.rsc, but it looks like no typechecking is done for these files.

server.environments.rsc.pluginContainer.resolveId('mod'),

Copy link

stackblitz bot commented Aug 29, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@hi-ogawa hi-ogawa marked this pull request as ready for review August 29, 2024 00:42
Copy link
Member

@patak-dev patak-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linter was complaining here when I merged main before. Thanks @hi-ogawa!

@patak-dev patak-dev merged commit e700f48 into vitejs:v6/environment-api Aug 29, 2024
9 of 10 checks passed
@hi-ogawa hi-ogawa deleted the fix-type-ViteDevServer-environments branch August 29, 2024 09:22
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.

2 participants