canvas2d-wrapper 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.ts +5 -1
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ import { default as Circle } from './shapes/Circle';
|
|
|
10
10
|
import { default as LinePath } from './shapes/LinePath';
|
|
11
11
|
import { default as Polygon } from './shapes/Polygon';
|
|
12
12
|
import { default as Rect } from './shapes/Rect';
|
|
13
|
+
import { default as Canvas2DProps } from './types/Canvas2DProps';
|
|
14
|
+
import { default as CollideElementResultItem } from './types/CollideElementResultItem';
|
|
15
|
+
import { default as Position2D } from './types/Position2D';
|
|
16
|
+
import { default as Surface2D } from './types/Surface2D';
|
|
13
17
|
declare global {
|
|
14
18
|
var __canvas2dWrapper__: {
|
|
15
19
|
imgCache: {
|
|
@@ -17,4 +21,4 @@ declare global {
|
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
23
|
}
|
|
20
|
-
export { Canvas2D, CanvasImage, CanvasObject, Circle, LinePath, Polygon, preloadImages, Rect, useGamepad, useKeyboard, useMousePosition, useWindowDimensions };
|
|
24
|
+
export { Canvas2D, CanvasImage, CanvasObject, Circle, LinePath, Polygon, preloadImages, Rect, useGamepad, useKeyboard, useMousePosition, useWindowDimensions, type Canvas2DProps, type CollideElementResultItem, type Position2D, type Surface2D };
|