Closed Eugeny closed 3 years ago
The typings file specifies:
setVibrancy(type: 'appearance-based' | 'light' | 'dark' | 'titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'medium-light' | 'ultra-dark'): void;
whereas docs suggest that passing null disables vibrancy.
null
The argument type should be nullable
This is fixed in recent versions of Electron
The typings file specifies:
whereas docs suggest that passing
null
disables vibrancy.The argument type should be nullable