You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this project TypeScript ready? There are incompatibilities.
How to reproduce:
Install this package in an already working React TypeScript project.
npm i @unicef/react-org-chart
import OrgChart from '@unicef/react-org-chart'
The error:
Could not find a declaration file for module '@unicef/react-org-chart'. '/Users/<myaccount>/Documents/<project>/GitHub/<project_name>/node_modules/@unicef/react-org-chart/dist/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/unicef__react-org-chart` if it exists or add a new declaration (.d.ts) file containing `declare module '@unicef/react-org-chart';`ts(7016)
What is the package to install to get this library compatible with TypeScript?
The text was updated successfully, but these errors were encountered:
Is this project TypeScript ready? There are incompatibilities.
How to reproduce:
npm i @unicef/react-org-chart
import OrgChart from '@unicef/react-org-chart'
The error:
What is the package to install to get this library compatible with TypeScript?
The text was updated successfully, but these errors were encountered: