mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #5727 from rhysd/patch-2
Fixed parameter's type of Tray.setImage()
This commit is contained in:
commit
7f07bd88d1
2 files changed
+2
-1
No files matched your search
Vendored
+1
-1
@@ -1218,7 +1218,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