Reputation: 390
I can pretty well use my types in .ts but for some reason, I don't understand why It's failing on .test.ts though both files exist under the same folder.
In .ts file 👇
In .test.ts file 👇
Upvotes: 0
Views: 297
Reputation: 390
In case someone else is facing this same issue,
Just exclude "src/**/*.test.ts"
in "exclude": ["node_modules", "src/**/*.test.ts"]
in your tsconfig.json
Upvotes: 1