UNPKG
@popmotion/popcorn
Version:
beta (0.4.1-rc2)
latest (0.4.4)
0.4.4
0.4.3
0.4.2
0.4.1
0.4.1-rc2
0.4.1-rc
0.4.0
0.3.9
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Utility functions for animation and interactions.
github.com/Popmotion/popmotion
Popmotion/popmotion
@popmotion/popcorn
/
lib
/
types.d.ts
9 lines
(8 loc)
•
180 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
type
Point2D
= {
x
:
number
;
y
:
number
; };
export
declare
type
Point3D
=
Point2D
& {
z
:
number
; };
export
declare
type
Point
=
Point2D
|
Point3D
;