-
I have a typescript error for testUtils.db() saying Property 'db' does not exist on type 'TestUtils'. The function works fine but the TestUtils type from Adonis core doesn't have the db func in TestUtils type? What do I do? |
Beta Was this translation helpful? Give feedback.
Answered by
AshlinR
Sep 4, 2025
Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
-
I found the problem. I had a tsConfig that was interfering with type inference and imports |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AshlinR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the problem. I had a tsConfig that was interfering with type inference and imports