Skip to content

feat: support satisfies operator in TypeScript #397

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rendob
Copy link

@rendob rendob commented Apr 9, 2025

Support satisfies operator in TypeScript

Description

This PR adds support for the satisfies operator to each rule in the plugin.
It also upgrades TypeScript to 4.9 to use satisfies and adds test cases for satisfies.

Fixes #396
Please see this issue for more details.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • npm run test

Test Configuration:

  • OS + version: macOS Sequoia 15.3.2
  • NPM version: 8.19.2
  • Node version: 18.12.0

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas -> seems unnecessary
  • I have made corresponding changes to the documentation -> seems unnecessary
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@rendob
Copy link
Author

rendob commented Apr 9, 2025

@francoismassart
I would appreciate it if you could take a look at this PR when you have a moment. Thank you!

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.

[Feature request] Support satisfies operator in TypeScript
1 participant