I am converting a project that uses .jsx files to use .tsx. When I changed this file to .tsx, the axios import was no longer working. I installed ‘axios-typescript’ via npm but it still gives me this error…
import axios from 'axios-typescript'
“Cannot find module ‘axios-typescript’ Did you mean to set the modeResolution option to nodeext or to add aliases to the paths option.”
I did some research and it suggests adding this to a tsconfig.json file. But there is no such file in the project. Is this node.js only functionality? Where would I add this if I indeed need to add it?