|
@@ -42,7 +42,7 @@ const transform: TransCreateFn = (transType: string) => ({
|
|
const style = this.module.helper.createStyle({
|
|
const style = this.module.helper.createStyle({
|
|
transform: getTransform.call(this, transType),
|
|
transform: getTransform.call(this, transType),
|
|
size: [0,0]
|
|
size: [0,0]
|
|
- });
|
|
|
|
|
|
+ }, {} as any);
|
|
Object.entries(style).forEach(([key, value]: any[]) => {
|
|
Object.entries(style).forEach(([key, value]: any[]) => {
|
|
this.compEl.style[key] = value;
|
|
this.compEl.style[key] = value;
|
|
});
|
|
});
|