-
Notifications
You must be signed in to change notification settings - Fork 188
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
File '/web-app/node_modules/canvas-datagrid/dist/types.d.ts' is not a module. #567
Comments
+1 |
Hi @TonyGermaneri, I love the module but just like @ug1989 I can't seem to import it in my project because of a typing issue. |
Hi, apologies for not responding sooner — I'll look into this tomorrow |
Are there any updates? |
For temporary solution:
|
Sorry for being so inattentive. Life can suck you away from projects you love. Thanks for the temp solution @kent-leow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior and actual behavior.
typescript project can read types correctly
Steps to reproduce the problem.
In any ts project, yarn add canvas-datagrid && import canvasDatagrid from 'canvas-datagrid' show the error
Specifications like the version of the project, operating system, or hardware.
--
The way I tried locally
When I edit
node_modules/canvas-datagrid/dist/types.d.ts
file with addexport = canvasDatagrid;
, vscode can read the type definition correctlyThe text was updated successfully, but these errors were encountered: