Skip to content

Commit

Permalink
fix(animations): add required typings
Browse files Browse the repository at this point in the history
  • Loading branch information
w0wka91 committed Jan 14, 2020
1 parent 569dd9c commit 0456962
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.10.0",
"rollup-plugin-svg": "^2.0.0",
"semantic-release": "^15.13.24",
"semantic-release": "^16.0.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
}
Expand Down
14 changes: 7 additions & 7 deletions src/utils/animations.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { keyframes } from '@emotion/core'

const bounce = keyframes`
const bounce: any = keyframes`
from, 20%, 53%, 80%, to {
transform: translate3d(0,0,0);
}
Expand All @@ -18,7 +18,7 @@ const bounce = keyframes`
}
`

const zoomIn = keyframes`
const zoomIn: any = keyframes`
from {
opacity: 0;
transform: scale3d(0.3, 0.3, 0.3);
Expand All @@ -29,7 +29,7 @@ const zoomIn = keyframes`
}
`

const zoomOut = keyframes`
const zoomOut: any = keyframes`
from {
opacity: 1;
}
Expand All @@ -44,7 +44,7 @@ const zoomOut = keyframes`
}
`

const slideInUp = keyframes`
const slideInUp: any = keyframes`
from {
transform: translate3d(0, 100%, 0);
visibility: visible;
Expand All @@ -55,7 +55,7 @@ const slideInUp = keyframes`
}
`

const slideInDown = keyframes`
const slideInDown: any = keyframes`
from {
transform: translate3d(0, -100%, 0);
visibility: visible;
Expand All @@ -66,7 +66,7 @@ const slideInDown = keyframes`
}
`

const fadeDown = keyframes`
const fadeDown: any = keyframes`
from {
opacity: 0;
visibility: hidden;
Expand All @@ -80,7 +80,7 @@ const fadeDown = keyframes`
}
`

const fadeUp = keyframes`
const fadeUp: any = keyframes`
from {
opacity: 1;
visibility: visible;
Expand Down

0 comments on commit 0456962

Please sign in to comment.