Skip to content

Commit 1fea179

Browse files
committed
increase bundle size limit
1 parent 14bba57 commit 1fea179

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__TESTS_BUNDLE_SIZE__/bundleSizeTestCases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const bundleSizeTestCases:ITestCase[] = [
8888
},
8989
{
9090
name: 'Import All Actions',
91-
sizeLimitInKB: 33,
91+
sizeLimitInKB: 36,
9292
importsArray: [
9393
importFromPackage('Actions')
9494
]

src/actions/effect/Shadow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ class ShadowEffectAction extends Action {
7070
// We are using this() to allow inheriting classes to use super.fromJson.apply(this, [actionModel])
7171
// This allows the inheriting classes to determine the class to be created
7272
const result = new this(actionType, strength);
73-
offsetX && result.offsetX(offsetX);
74-
offsetY && result.offsetY(offsetY);
73+
offsetX && result.offsetX(offsetX as number);
74+
offsetY && result.offsetY(offsetY as number);
7575
color && result.color(color);
7676

7777
return result;

0 commit comments

Comments
 (0)