run eslint test/integration.test.js
There will be error:
12:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<DefaultBodyType, any>` @typescript-eslint/no-unsafe-argument
15:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<DefaultBodyType, any>` @typescript-eslint/no-unsafe-argument
18:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<any, any>` @typescript-eslint/no-unsafe-argument
21:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<DefaultBodyType, any>` @typescript-eslint/no-unsafe-argument
24:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<DefaultBodyType, any>` @typescript-eslint/no-unsafe-argument
27:35 error Unsafe argument of type `any` assigned to a parameter of type `ResponseTransformer<any, any>` @typescript-eslint/no-unsafe-argument
Describe the bug
The examples fails to adhere to this typescript eslint rules https://typescript-eslint.io/rules/no-unsafe-argument/
To Reproduce Steps to reproduce the behavior: add this
.eslintrc.json
to the root of this repositoryrun
eslint test/integration.test.js
There will be error:Expected behavior
There should be no error.