Skip to content

refactor(types)!: remove facade type files#10903

Merged
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:refactor/remove-facade-type-files
Nov 13, 2022
Merged

refactor(types)!: remove facade type files#10903
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:refactor/remove-facade-type-files

Conversation

@sapphi-red
Copy link
Member

Description

Removed facade type files added by #9966 for backward compatibility.
It's not long from the deprecation. But given that people shouldn't import these types from types/*, I think it's fine to remove in Vite 4.

refs #9966
refs #10243

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@sapphi-red sapphi-red added p1-chore Doesn't change code behavior (priority) breaking change labels Nov 13, 2022
InferCustomEventPayload,
InvalidatePayload
} from 'types/customEvent'
// [deprecated: use vite/client/types instead]
Copy link
Member Author

Choose a reason for hiding this comment

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

This was deprecated by #9966 and reverted by #10243 but the comment was still there.

@sapphi-red sapphi-red added this to the 4.0 milestone Nov 13, 2022
@patak-cat patak-cat enabled auto-merge (squash) November 13, 2022 07:51
@patak-cat patak-cat merged commit a309058 into vitejs:main Nov 13, 2022
@sapphi-red sapphi-red deleted the refactor/remove-facade-type-files branch November 13, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change p1-chore Doesn't change code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants