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

docs: show usage with satisfies operator #17643

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

manbearwiz
Copy link
Contributor

Description

TypeScript 4.9 added the satisfies operator which fits this use case perfectly. This PR updates the docs to demonstrate that usage. This should probably be the recommendation for most TS projects, as long as they are using at least 4.9 (released Nov '22). Definitely open to challenges on phrasing or ordering.

Copy link

stackblitz bot commented Jul 9, 2024

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

@patak-dev patak-dev added p2-to-be-discussed Enhancement under consideration (priority) documentation Improvements or additions to documentation labels Jul 13, 2024
docs/config/index.md Outdated Show resolved Hide resolved
@patak-dev patak-dev merged commit e1fb0fa into vitejs:main Jul 16, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation p2-to-be-discussed Enhancement under consideration (priority)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants