Fix parameter's type of Tray.setImage()

`Tray.setImage()` can take `string` parameter the same as constructor of
`Tray`.
This commit is contained in:
rhysd committed 2015-09-08 18:57:31 +09:00
1 parent 9c76211533
commit 978a94de72
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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.
*/