-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Type issue when used with TypeScript #3
Comments
@umarmw There is probably no typescript definitions for this package yet. To remove the error, create
|
Even after I did that, it gave me this error ...
What did you do to get it to work properly? |
I want to add that this issue only happens in Version 2, when I downgraded to Version 1 it works with no problem. |
hi there. i get this error with stylis-plugin-rtl WARNING in ./node_modules/stylis-plugin-rtl/dist/stylis-rtl.js |
Hello,
I ran into this error when using the plugin with TypeScript on a CRA project.
Could not find a declaration file for module 'stylis-plugin-rtl'. '/Users/umar/Documents/AzureDevOps/components/node_modules/stylis-plugin-rtl/dist/stylis-rtl.js' implicitly has an 'any' type.
Try
npm install @types/stylis-plugin-rtl
if it exists or add a new declaration (.d.ts) file containingdeclare module 'stylis-plugin-rtl';
ts(7016)The text was updated successfully, but these errors were encountered: