Skip to content

docs: show usage with satisfies operator - #17643

Merged
patak-cat merged 1 commit into
vitejs:mainfrom
manbearwiz:patch-1
Jul 16, 2024
Merged

patak-cat merged 1 commit into
vitejs:mainfrom
manbearwiz:patch-1

Conversation

@manbearwiz

Copy link
Copy Markdown
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.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

@patak-cat patak-cat added p2-to-be-discussed Enhancement under consideration (priority) documentation Improvements or additions to documentation labels Jul 13, 2024
Comment thread docs/config/index.md Resolved
@patak-cat
patak-cat merged commit e1fb0fa into vitejs:main Jul 16, 2024
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