diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-16 04:15:02 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-16 04:15:02 +0800 |
commit | 58ad7d7caf475309dbd4e4486a1ed43404d5193c (patch) | |
tree | 9bd7dfdb9c817ca9e9729057b8204733bd54c8de /packages/instant/src/components | |
parent | af495143974941fb6cc4210b1965c17f007465e6 (diff) | |
download | dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.gz dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.bz2 dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.lz dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.xz dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.zst dexon-sol-tools-58ad7d7caf475309dbd4e4486a1ed43404d5193c.zip |
change to ? syntax instead of number | undefined
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/animations/slide_up_and_down_animation.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx index 2e8061a19..da34b7485 100644 --- a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx +++ b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx @@ -63,7 +63,7 @@ interface SlideUpAndDownState { } export class SlideUpAndDownAnimation extends React.Component<SlideUpAndDownAnimationProps, SlideUpAndDownState> { - private _timeoutId: number | undefined; + private _timeoutId?: number; constructor(props: SlideUpAndDownAnimationProps) { super(props); this._timeoutId = undefined; |