Skip to content

Typecheck errors in typescript strict mode #48

@devotox

Description

@devotox

Summary

When adding strict mode to tsconfig.json we encounter errors in typechecking as the redis config types cannot be found

Package version

7.3.0

Node.js and npm version

Node: 16.15.1
NPM: 8.11.0

Sample Code (to reproduce the issue)

npx create-adonis-ts-app hello-world
cd hello-world
npm i @adonisjs/redis
node ace configure @adonisjs/redis

---- add strict to tsconfig.json
----- run a tsc typecheck

BONUS (a sample repo to reproduce the issue)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions