From 7cd80edb248a0ae34c2d8893655982b6b1c54595 Mon Sep 17 00:00:00 2001 From: Igor Yegorov Date: Sat, 3 Feb 2018 04:51:30 +0300 Subject: [PATCH] added default types --- src/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index fce4606..d20bafb 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -26,7 +26,10 @@ export type DebounceInputProps< readonly inputRef?: React.Ref; }; -export declare class DebounceInput extends React.PureComponent> { +export declare class DebounceInput< + WrappedComponent = HTMLInputElement, + WrappedComponentProps = React.InputHTMLAttributes +> extends React.PureComponent> { }