Merge pull request #9636 from electron/typescript-fixes
Add return type to systemPreferences.isAeroGlassEnabled()
This commit is contained in:
commit
6a9de535c7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ This API uses `NSUserDefaults` on macOS. Some popular `key` and `type`s are:
|
||||||
|
|
||||||
### `systemPreferences.isAeroGlassEnabled()` _Windows_
|
### `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.
|
enabled, and `false` otherwise.
|
||||||
|
|
||||||
An example of using it to determine if you should create a transparent window or
|
An example of using it to determine if you should create a transparent window or
|
||||||
|
|
Loading…
Reference in a new issue