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 | |
parent | af495143974941fb6cc4210b1965c17f007465e6 (diff) | |
download | dexon-0x-contracts-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.gz dexon-0x-contracts-58ad7d7caf475309dbd4e4486a1ed43404d5193c.tar.zst dexon-0x-contracts-58ad7d7caf475309dbd4e4486a1ed43404d5193c.zip |
change to ? syntax instead of number | undefined
Diffstat (limited to 'packages')
-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; |