mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-27 11:40:08 +08:00
Fix parameter's type of Tray.setImage()
`Tray.setImage()` can take `string` parameter the same as constructor of `Tray`.
This commit is contained in:
Vendored
+1
-1
@@ -1212,7 +1212,7 @@ declare module GitHubElectron {
|
||||
/**
|
||||
* Sets the image associated with this tray icon.
|
||||
*/
|
||||
setImage(image: NativeImage): void;
|
||||
setImage(image: NativeImage|string): void;
|
||||
/**
|
||||
* Sets the image associated with this tray icon when pressed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user