Kitware / vtk-js

Visualization Toolkit for the Web
https://kitware.github.io/vtk-js/
BSD 3-Clause "New" or "Revised" License
1.18k stars 365 forks source link

[Bug] #3084

Open sctstudent opened 3 weeks ago

sctstudent commented 3 weeks ago

Bug description

How do I introduce LineWidgets in typescript

Steps to reproduce

import vtkLineWidget from "@kitware/vtk.js/Widgets/Widgets3D/LineWidget";

Detailed Behavior

No response

Expected Behavior

import vtkLineWidget from "@kitware/vtk.js/Widgets/Widgets3D/LineWidget";

Environment

finetjul commented 3 weeks ago

It is missing a typescript file. Can you please create a PR that adds into the LineWidget folder an index.d.ts file ?

vasut02 commented 3 weeks ago

Can I fix this issue?

bruyeret commented 3 weeks ago

Can I fix this issue?

Of course, anyone can do a PR 👍 You can read CONTRIBUTING.md first It is very easy to contribute, as contributions are the strength of Open Source projects