From b7e2639cae41b7cf6bfc3ca3e2b70aa419a54ca6 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Fri, 25 Aug 2017 09:19:04 -0500 Subject: [PATCH] Remove an `any` --- webpack/ui/fallback_img.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack/ui/fallback_img.tsx b/webpack/ui/fallback_img.tsx index 5a9f84568..b96ab7895 100644 --- a/webpack/ui/fallback_img.tsx +++ b/webpack/ui/fallback_img.tsx @@ -41,8 +41,8 @@ export class FallbackImg extends React.Component { } dontFallback = () => { - let imgProps = defensiveClone(this.props); - delete (imgProps as any).fallback; // React will complain otherwise. + let imgProps: Props = defensiveClone(this.props); + delete imgProps.fallback; return (