sheaivey / react-axios

Axios Components for React with child function callback
MIT License
180 stars 20 forks source link

Unable to find declaration file for module 'react-axios' #43

Open kiritoxjf opened 2 years ago

kiritoxjf commented 2 years ago

After I install the four modules, Ts show me the error when I want to import the Get component from react-axios avatar

krivochenko commented 7 months ago

Hi! I have the same issue. @kiritoxjf did you find solution?

kiritoxjf commented 3 months ago

Hi! I have the same issue. @kiritoxjf did you find solution?

I finished the development using the 'axios' package instead.

InsightStevenGreen commented 1 week ago

I'm taking the assumption that the types are missing, as vscode show's errors but the components work

'Could not find a declaration file for module 'react-axios'. '/Users/stevengreen/Documents/Development/Learning/react-ts-form-components/node_modules/react-axios/lib/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/react-axios if it exists or add a new declaration (.d.ts) file containing declare module 'react-axios';ts(7016)