diff --git a/types/NewWindow.d.ts b/types/NewWindow.d.ts index 7a32ce8..957421d 100644 --- a/types/NewWindow.d.ts +++ b/types/NewWindow.d.ts @@ -47,13 +47,14 @@ declare module 'react-new-window' { */ features?: IWindowFeatures + /** - * A function to be triggered before the new window unload. + * A function to be triggered when the new window could not be opened. */ onBlock?: EventHandler | null /** - * A function to be triggered when the new window could not be opened. + * A function to be triggered before the new window unload. */ onUnload?: EventHandler | null