From 17a57444f33da0471da73fae16e7d70600bf0c4e Mon Sep 17 00:00:00 2001 From: teevik Date: Thu, 28 Jun 2018 12:34:26 +0200 Subject: [PATCH] Change `autoHeightMin` and `autoHeightMax` to allow both number and string --- types/react-custom-scrollbars/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-custom-scrollbars/index.d.ts b/types/react-custom-scrollbars/index.d.ts index 7f60cc8a2a..f21ec7adba 100644 --- a/types/react-custom-scrollbars/index.d.ts +++ b/types/react-custom-scrollbars/index.d.ts @@ -44,8 +44,8 @@ declare module "react-custom-scrollbars" { universal?: boolean; autoHeight?: boolean; - autoHeightMin?: number; - autoHeightMax?: number; + autoHeightMin?: number | string; + autoHeightMax?: number | string; } export default class Scrollbars extends React.Component {