Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript Error #22

Open
lekeCoder opened this issue Jan 13, 2021 · 1 comment
Open

TypeScript Error #22

lekeCoder opened this issue Jan 13, 2021 · 1 comment

Comments

@lekeCoder
Copy link

lekeCoder commented Jan 13, 2021

This is the error l get when l install the library in a react -native project.

`Could not find a declaration file for module 'rnal'.
'.../node_modules/rnal/index.js' implicitly has an 'any' type.

Try npm i --save-dev @types/rnal if it exists or add a new declaration (.d.ts) file containing declare module 'rnal';

Unfortunately, when l tried yarn add -D @types/anal l got this error error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2frnal: Not found".

"react": "16.13.1",
"react-dom": "^16.13.1",
"react-native": "0.63.2",
"rnal": "^0.2.1",

@hayanisaid
Copy link
Owner

This library does not support TypeScript yet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants