Skip to content

Commit

Permalink
fix(type): fixes the returned type of insertNextPoint
Browse files Browse the repository at this point in the history
fix #3048
  • Loading branch information
Ramon Emiliani authored and floryst committed May 30, 2024
1 parent 23f7444 commit 952a26f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Common/Core/Points/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ export interface vtkPoints extends vtkDataArray {
* @param {Number} x The x coordinate.
* @param {Number} y The y coordinate.
* @param {Number} z The z coordinate.
* @returns {Number} Index of the inserted point.
*/
insertNextPoint(x: number, y: number, z: number): void;
insertNextPoint(x: number, y: number, z: number): number;
}

/**
Expand Down

0 comments on commit 952a26f

Please sign in to comment.