bodyparser icon indicating copy to clipboard operation
bodyparser copied to clipboard

fix: use `unknown` instead of `any`

Open mrjono1 opened this issue 7 months ago • 0 comments

Use unknown instead of any

When the type is unknown it is best to use the unknown type instead of any. But the reason for the change is using any is blocking me from overwriting the type with the correct type in my project

Checklist

  • [x] I have ensured my pull request is not behind the main or master branch of the original repository.
  • [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • [ ] I have written a commit message that passes commitlint linting. (there is no config for this in the project?)
  • [x] I have ensured that my code changes pass linting tests.
  • [x] I have ensured that my code changes pass unit tests.
  • [x] I have described my pull request and the reasons for code changes along with context if necessary.

mrjono1 avatar Jun 26 '25 00:06 mrjono1