We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typescript project can read types correctly
In any ts project, yarn add canvas-datagrid && import canvasDatagrid from 'canvas-datagrid' show the error
--
When I edit node_modules/canvas-datagrid/dist/types.d.ts file with add export = canvasDatagrid;, vscode can read the type definition correctly
node_modules/canvas-datagrid/dist/types.d.ts
export = canvasDatagrid;
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
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?
No branches or pull requests
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: