@hatiolab/things-scene 3.2.8 → 3.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "3.2.8",
3
+ "version": "3.2.9",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/things-scene.d.ts CHANGED
@@ -354,8 +354,8 @@ declare module '@hatiolab/things-scene' {
354
354
  prepareIf(boolean)
355
355
  createCanvas(width: number, height: number)
356
356
  mutatePath(
357
- beforeLogic?: (path: Array<DIMENSION>) => void | null,
358
- afterLogic?: (path: Array<DIMENSION>) => void | null,
357
+ beforeLogic: ((path: Array<DIMENSION>) => void) | null,
358
+ afterLogic: ((path: Array<DIMENSION>) => void) | null,
359
359
  context?: any
360
360
  )
361
361