From f47120e15595375e55bb3018171afb7ac474e174 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Mon, 19 Oct 2026 13:36:36 -0400 Subject: [PATCH] refactor(types)!: remove deprecated Point alias BREAKING CHANGE: The Point type alias is removed. Import Vector3 from @kitware/vtk.js/types instead. --- BREAKING_CHANGES.md | 1 + Sources/types.d.ts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md index caf904fac01..8c42cbf61e5 100644 --- a/BREAKING_CHANGES.md +++ b/BREAKING_CHANGES.md @@ -3,6 +3,7 @@ - **TypeScript declarations**: expanded coverage and corrected types may expose build errors. Remove conflicting local declaration shims and fix code rejected by the new types. - **TypeScript libraries**: typed-array factories now declare BigInt support. Add `ES2020.BigInt` if your `lib` list does not include `ES2020` or later. Your `target` can stay unchanged. - **Accessor types**: `setXFrom` methods and setters that return no value now declare `void`. Getter types include `null` or `undefined` where applicable. +- **`Point` type removed.** Import `Vector3` from `@kitware/vtk.js/types` instead. - **vtkOpenGLFramebuffer**: replace `getColorTexture()` with `getColorBuffers()[0]`. ## From 36.x to 37 diff --git a/Sources/types.d.ts b/Sources/types.d.ts index 6aa70fcf4da..fbd31ed521b 100644 --- a/Sources/types.d.ts +++ b/Sources/types.d.ts @@ -63,10 +63,6 @@ declare type Matrix3x3 = [ number, number, ]; -/** - * @deprecated The `Point` type is deprecated, please use `Vector3` instead. - */ -declare type Point = Vector3; declare type HSLColor = [number, number, number]; declare type HSVColor = [number, number, number]; declare type RGBColor = [number, number, number];