It would be nice to write the lib in TypeScript? I am using:
"@types/ioredis": "^4.0.10",
I am looking for TS support for example:

not sure how to fix
This library has been being migrated to TypeScript for a while, but there're still much work remains to be done. Pull requests are welcome :-)
For now, we could contribute to the @types/ioredis library to fix issues.
It seems that you don't set the compiler option "declaration" to true in your tsconfig.json, it will output definition file (.d.ts). It doesn't look like you publish your ts files on NPM registry so we don't have typescript definition. Maybe I am wrong but I prefer to point this out from what I'm understanding about Typescript compiler options.
@fangedhex Yes, you're right about the declaration option. For now, the declarations are not exported and published to npm is because we've not migrated all the code to TypeScript, especially the Redis class. So it would be better to use @types/ioredis until all the code are migrated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.
Most helpful comment
@fangedhex Yes, you're right about the
declarationoption. For now, the declarations are not exported and published to npm is because we've not migrated all the code to TypeScript, especially theRedisclass. So it would be better to use @types/ioredis until all the code are migrated.