narraleaf-react 0.2.1 → 0.2.2

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.
@@ -21,15 +21,15 @@ export declare class Transform<T extends TransformDefinitions.Types = object> {
21
21
  /**
22
22
  * Go to the left side of the stage
23
23
  */
24
- static left(duration: number, easing: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
24
+ static left(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
25
25
  /**
26
26
  * Go to the right side of the stage
27
27
  */
28
- static right(duration: number, easing: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
28
+ static right(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
29
29
  /**
30
30
  * Go to the center of the stage
31
31
  */
32
- static center(duration: number, easing: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
32
+ static center(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
33
33
  /**
34
34
  * @example
35
35
  * ```ts
@@ -94,7 +94,7 @@ export type GameConfig = {
94
94
  */
95
95
  maxPreloadActions: number;
96
96
  /**
97
- * Src of the cursor image, if null, the game won't show the cursor
97
+ * Src of the cursor image, if null, the game will show the default cursor
98
98
  */
99
99
  cursor: string | null;
100
100
  /**