Skip to content

fix: correct ValidationStrategy parameter types#406

Merged
fasttime merged 1 commit intomainfrom
test/validation-strategy-type-coverage
Mar 24, 2026
Merged

fix: correct ValidationStrategy parameter types#406
fasttime merged 1 commit intomainfrom
test/validation-strategy-type-coverage

Conversation

@Pixel998
Copy link
Copy Markdown
Contributor

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

This PR adds type-level test coverage for ValidationStrategy and updates the JSDoc parameter types to unknown.

What changes did you make? (Give an overview)

  • Updated parameter types from * to unknown for all validation methods.
  • Added ValidationStrategy type tests.

Related Issues

#316 (comment)

Is there anything you'd like reviewers to focus on?

@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage Mar 18, 2026
@Pixel998 Pixel998 moved this from Needs Triage to Implementing in Triage Mar 18, 2026
Copy link
Copy Markdown
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

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

Maybe this change should be tagged "fix:" because it changes the type of some exported function parameters from any to unknown.

@Pixel998 Pixel998 changed the title test: add ValidationStrategy type coverage fix: correct ValidationStrategy parameter types Mar 24, 2026
@eslint-github-bot eslint-github-bot Bot added the bug Something isn't working label Mar 24, 2026
@Pixel998
Copy link
Copy Markdown
Contributor Author

I’ve updated the title to use fix:👍

Copy link
Copy Markdown
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@fasttime fasttime merged commit 42a30ea into main Mar 24, 2026
32 checks passed
@fasttime fasttime deleted the test/validation-strategy-type-coverage branch March 24, 2026 13:01
@github-project-automation github-project-automation Bot moved this from Implementing to Complete in Triage Mar 24, 2026
@eslintbot eslintbot mentioned this pull request Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted bug Something isn't working chore

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

2 participants