Open jamietwells opened 5 years ago
thanks for reporting this @jamietwells, as well as the steps to reproduce.
That said, we don't current ship TypeScript types for visjs-network
. You might have luck making a custom module declaration for visjs-network
in your project, and then dropping in these generated types https://github.com/visjs-community/visjs-network/issues/52#issuecomment-511128577
Like you see in #52, we're thinking about implementing more robust support for TypeScript. If that is something that you are interested in, we welcome contributions 😄
Hi, I seem to be unable to use the
DataSet
.Steps to reproduce:
Run the commands:
Replace the
src/App.tsx
file with the following:run the command:
See runtime error: