diff --git a/types/react-redux-toastr/index.d.ts b/types/react-redux-toastr/index.d.ts index 85a7b22bc8..012b6eb751 100644 --- a/types/react-redux-toastr/index.d.ts +++ b/types/react-redux-toastr/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for react-redux-toastr 3.7.0 // Project: https://github.com/diegoddox/react-redux-toastr // Definitions by: Aleksandar Ivanov +// Artyom Stukans // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -21,10 +22,14 @@ declare module "react-redux-toastr" { * Position of the toastr: top-left, top-center, top-right, bottom-left, bottom-center and bottom-right */ position?: string, - confirmText?: ConfirmText + confirmOptions?: ConfirmOptions, + preventDuplicates?: boolean, + transitionIn?: 'bounceIn' | 'bounceInDown' | 'fadeIn', + transitionOut?: 'bounceOut' | 'bounceOutUp' | 'fadeOut', + progressBar?: boolean, } - interface ConfirmText { + interface ConfirmOptions { okText: string, cancelText: string }