(Apologies if this is a duplicate, I can't find any Q&A's that deal with existing .jsx files)
I've been migrating my app over to typescript and have now got a load of the following errors:
Could not find a declaration file for module '../components/...'. '.../components/....js' implicitly has an 'any' type.ts(7016)
I'd prefer not to have to go through my entire app right now and convert everything to .tsx
. I feel like turning noImplicitAny
to false
in my tsconfig
file would be excessive, given that I only want to ignore the issue of imports right now.
Is there a more sensible way to resolve these errors?