From 9cb9de7acb9ef0ba686fb801ec985878d06b92f4 Mon Sep 17 00:00:00 2001 From: Forrest Date: Thu, 9 May 2024 15:31:08 -0400 Subject: [PATCH] fix(Viewport): addActor2D typing --- Sources/Rendering/Core/Viewport/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/Rendering/Core/Viewport/index.d.ts b/Sources/Rendering/Core/Viewport/index.d.ts index ddb50a3e505..f9e7813fa0b 100755 --- a/Sources/Rendering/Core/Viewport/index.d.ts +++ b/Sources/Rendering/Core/Viewport/index.d.ts @@ -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.