rnal icon indicating copy to clipboard operation
rnal copied to clipboard

TypeScript Error

Open lekeCoder opened this issue 3 years ago • 1 comments

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",

lekeCoder avatar Jan 13 '21 17:01 lekeCoder

This library does not support TypeScript yet!

hayanisaid avatar Feb 16 '21 18:02 hayanisaid