Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6212

TS compatibility for libraries with out @types

$
0
0

I am currently trying to install and integrate react-native-credit-card-input on to a typescript project.

When I run run npm install @types/react-native-credit-card-input --saveand getting the following

npm ERR! code E404npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2freact-native-credit-card-input - Not foundnpm ERR! 404npm ERR! 404  '@types/react-native-credit-card-input@latest' is not in the npm registry.npm ERR! 404 You should bug the author to publish it (or use the name yourself!)npm ERR! 404npm ERR! 404 Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.

My question is if the @types lib does not exist for a specific library, does that mean there is no way to integrate that library on the a typescript project?

Thanks!


Viewing all articles
Browse latest Browse all 6212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>