Skip to content

Commit

Permalink
fix(types): effect-creative translate (#4907)
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky authored Sep 2, 2021
1 parent 3f25f70 commit ad8fae3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/modules/effect-creative.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CSSSelector } from '../shared';

interface CreativeEffectTransform {
translate?: string[] | number[];
translate?: (string | number)[];
rotate?: number[];
opacity?: number;
scale?: number;
Expand All @@ -21,7 +21,7 @@ export interface CreativeEffectOptions {
* ```js
* {
* // Array with translate X, Y and Z values
* translate: string[] | number[];
* translate: (string | number)[];
* // Array with rotate X, Y and Z values (in deg)
* rotate?: number[];
* // Slide opacity
Expand All @@ -44,7 +44,7 @@ export interface CreativeEffectOptions {
* ```js
* {
* // Array with translate X, Y and Z values
* translate: string[] | number[];
* translate: (string | number)[];
* // Array with rotate X, Y and Z values (in deg)
* rotate?: number[];
* // Slide opacity
Expand Down

0 comments on commit ad8fae3

Please sign in to comment.