Skip to content

Commit

Permalink
Merge pull request #77 from UofA-SPI21-team7/issue76
Browse files Browse the repository at this point in the history
Correct compile error on `platformIcons` keys
  • Loading branch information
cskeogh committed May 27, 2021
2 parents a8e12d3 + b7e3ab4 commit b21938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/service-providers/tray-provider.ts
Expand Up @@ -97,7 +97,7 @@ export default class TrayProvider extends EventEmitter {
*/
private _addTray (show: () => void, quit: () => void): void {
if (this._tray == null) {
const platformIcons: { [key in 'darwin' | 'win32']: string } = {
const platformIcons: { [key: string]: string } = {
'darwin': '/png/22x22_white.png',
'win32': '/icon.ico'
}
Expand Down

0 comments on commit b21938f

Please sign in to comment.