Add types

This commit is contained in:
Kevin Sawicki 2017-05-10 14:29:57 -07:00
parent a44f0620b3
commit f46b383824

View file

@ -57,10 +57,10 @@ Objects created with `new BrowserWindow` have the following instance methods:
#### `win.setAutoResize(options)` _Experimental_
* `options` Object
* `width` - If `true`, the view's width will grow and shrink together with
the window. `false` by default.
* `height` - If `true`, the view's height will grow and shrink together with
the window. `false` by default.
* `width` Boolean - If `true`, the view's width will grow and shrink together
with the window. `false` by default.
* `height` Boolean - If `true`, the view's height will grow and shrink
together with the window. `false` by default.
#### `win.setBounds(bounds)` _Experimental_