Skip to content

Commit

Permalink
fix(Viewport): addActor2D typing
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed May 10, 2024
1 parent cd47e2e commit 9cb9de7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/Rendering/Core/Viewport/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ export interface IViewportInitialValues {
export interface vtkViewport extends vtkObject {

/**
* Not Implemented yet
* Adds a 2D actor to the scene.
* @param prop
*/
addActor2D(): any;
addActor2D(prop: vtkActor2D): void;

/**
* Add a prop to the list of props.
Expand Down

0 comments on commit 9cb9de7

Please sign in to comment.