diff --git a/packages/global.d.ts b/packages/global.d.ts index 3735b137c1e..63be9f551b7 100644 --- a/packages/global.d.ts +++ b/packages/global.d.ts @@ -176,22 +176,22 @@ declare namespace HippyTypes { } export interface Transform { - perspective?: number | Animation; - rotate?: string | Animation; - rotateX?: string | Animation; - rotateY?: string | Animation; - rotateZ?: string | Animation; - scale?: number | Animation; - scaleX?: number | Animation; - scaleY?: number | Animation; - translateX?: number | Animation; - translateY?: number | Animation; - skewX?: string | Animation; - skewY?: string | Animation; - } - - // eslint-disable-next-line @typescript-eslint/no-empty-interface + perspective?: number | Animation | AnimationSet; + rotate?: string | Animation | AnimationSet; + rotateX?: string | Animation | AnimationSet; + rotateY?: string | Animation | AnimationSet; + rotateZ?: string | Animation | AnimationSet; + scale?: number | Animation | AnimationSet; + scaleX?: number | Animation | AnimationSet; + scaleY?: number | Animation | AnimationSet; + translateX?: number | Animation | AnimationSet; + translateY?: number | Animation | AnimationSet; + skewX?: string | Animation | AnimationSet; + skewY?: string | Animation | AnimationSet; + } + export interface TransformsStyle { + transform?: Transform[]; } export type BorderStyle = 'solid' | 'dotted' | 'dashed' | 'none';