From 58ad7d7caf475309dbd4e4486a1ed43404d5193c Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 15 Oct 2018 13:15:02 -0700 Subject: change to ? syntax instead of number | undefined --- .../instant/src/components/animations/slide_up_and_down_animation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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 { - private _timeoutId: number | undefined; + private _timeoutId?: number; constructor(props: SlideUpAndDownAnimationProps) { super(props); this._timeoutId = undefined; -- cgit v1.2.3