Skip to content

chore: remove any type from all JSDoc#2118

Merged
AprilSylph merged 1 commit intomasterfrom
aprilsylph/reject-any-type
Feb 23, 2026
Merged

chore: remove any type from all JSDoc#2118
AprilSylph merged 1 commit intomasterfrom
aprilsylph/reject-any-type

Conversation

@AprilSylph
Copy link
Owner

@AprilSylph AprilSylph commented Feb 20, 2026

Description

jsdoc/reject-any-type is now included in the recommended rules, and for good reason! any is not a real type. In all our usages, we can either use a more specific type, or stop explicitly using it when it can be inferred instead.

Intellisense seems unable to parse the recursive type for stringifiable JSON correctly, and treats it as equivalent to any, even though functions should really be disallowed by it... oh well. Still better than actually putting any.

Testing steps

Just code review will suffice. Expect zero new CI warnings.

@AprilSylph AprilSylph merged commit 5b50686 into master Feb 23, 2026
5 checks passed
@AprilSylph AprilSylph deleted the aprilsylph/reject-any-type branch February 23, 2026 09:31
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.

2 participants