From 3e98e8cdb15fceee9e4db55c47f585a9b689d4df Mon Sep 17 00:00:00 2001 From: Lydie Danet Date: Tue, 19 Feb 2019 16:14:04 +1300 Subject: [PATCH] react-lazyload: Improve typing of placeholder --- types/react-lazyload/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-lazyload/index.d.ts b/types/react-lazyload/index.d.ts index 669169351e..9d7453188a 100644 --- a/types/react-lazyload/index.d.ts +++ b/types/react-lazyload/index.d.ts @@ -16,7 +16,7 @@ export interface LazyLoadProps { children?: ReactNode; throttle?: number | boolean; debounce?: number | boolean; - placeholder?: any; + placeholder?: ReactNode; unmountIfInvisible?: boolean; }