Merge pull request #9636 from electron/typescript-fixes

Add return type to systemPreferences.isAeroGlassEnabled()
This commit is contained in:
Kevin Sawicki 2017-05-31 13:22:30 -07:00 committed by GitHub
commit 6a9de535c7

View file

@ -141,7 +141,7 @@ This API uses `NSUserDefaults` on macOS. Some popular `key` and `type`s are:
### `systemPreferences.isAeroGlassEnabled()` _Windows_
This method returns `true` if [DWM composition][dwm-composition] (Aero Glass) is
Returns `Boolean` - `true` if [DWM composition][dwm-composition] (Aero Glass) is
enabled, and `false` otherwise.
An example of using it to determine if you should create a transparent window or