Closed Ahmdrza closed 4 years ago
Hello @Ahmdrza,
Did you run this command and install the library right?
npm i @paraboly/react-native-card
Also, can you check which version are you trying to install?
its just missing a types file
its just missing a types file
what do you mean? I can fix it can you explain it a bit more?
So typescript is basically a version of JavaScript that compiles into JavaScript code.
In order to make you that there are no issues you need to declare in a .d.ts the types of the variables and the functions return value for example
FunctionsName: string() { return ‘i return a strong’ }
Oh I totally misunderstood, I got it. I will generate the type files with typescript :) I will inform you when it is done.
you can just make a declaration fire decs.d.ts in the root folder of you project.
add it to the tsconfig.ts file in the includes array.
and just declare the module in that file
declare module 'module_name'
Hello @skibaalex and @Ahmdrza, Finally, new version 1.0.0 is here :) Please take a look
I am getting this error in vscode. I can't find type definitions.