Skip to content

Commit

Permalink
Allow empty width/height (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Willis <sean.willis@incorta.com>
  • Loading branch information
swillis12 and Sean Willis authored Nov 27, 2022
1 parent 1db12b2 commit 5d6fbd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/NewWindow.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ declare module 'react-new-window' {
* @remarks These will be concatenated into a string for window.open.
*/
export interface IWindowFeatures {
height: number
width: number
height?: number
width?: number
[i: string]: boolean | number | string
}

Expand Down

0 comments on commit 5d6fbd7

Please sign in to comment.