Skip to content

Commit 5d6fbd7

Browse files
swillis12Sean Willis
andauthored
Allow empty width/height (#61)
Co-authored-by: Sean Willis <sean.willis@incorta.com>
1 parent 1db12b2 commit 5d6fbd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

types/NewWindow.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ declare module 'react-new-window' {
1111
* @remarks These will be concatenated into a string for window.open.
1212
*/
1313
export interface IWindowFeatures {
14-
height: number
15-
width: number
14+
height?: number
15+
width?: number
1616
[i: string]: boolean | number | string
1717
}
1818

0 commit comments

Comments
 (0)