We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c09354 commit 6aaa7f3Copy full SHA for 6aaa7f3
src/index.ts
@@ -1,7 +1,7 @@
1
export type Points = Vector2D[];
2
-export type Vector = [number, number, number?];
3
export type Vector2D = [number, number];
4
export type Vector3D = [number, number, number];
+export type Vector = Vector2D | Vector3D;
5
export type Color = [number, number, number, number];
6
export interface PathValue {}
7
0 commit comments