Back to Continue

No Any Types

.continue/rules/no-any-types.md

1.5.45218 B
Original Source

Avoid using the any type wherever possible. Use unknown or find the correct type. The only acceptable place to use any is when typecasting for test mocks, and even then it's better to avoid and provide a proper mock.