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

Could not find a declaration file for module 'ra-input-rich-text' #6088

Closed
nerixim opened this issue Mar 28, 2021 · 1 comment · Fixed by #6093
Closed

Could not find a declaration file for module 'ra-input-rich-text' #6088

nerixim opened this issue Mar 28, 2021 · 1 comment · Fixed by #6093
Assignees
Labels

Comments

@nerixim
Copy link

nerixim commented Mar 28, 2021

What you were expecting:

Import ra-input-rich-text without TypeScript compile errors.

What happened instead:

Got a Could not find a declaration file for module 'ra-input-rich-text' error.

Steps to reproduce:

import RichTextInput from 'ra-input-rich-text';

Other information:

ra-input-rich-text is written in TypeScript so it should have types. Maybe some misconfiguration in tsconfig.json?

Environment

  • React-admin version: 3.13.4
  • ra-input-rich-text version: 3.12.0
  • React version: 17.0.1
@fzaninotto
Copy link
Member

Indeed, the tsconfig misses a line to emit declarations.

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

Successfully merging a pull request may close this issue.

2 participants