Skip to content

Commit fb99dbd

Browse files
committed
add null return to avoid having to check for undefined
1 parent fdbf718 commit fb99dbd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ElectronNET.Host/api/browserWindows.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ElectronNET.Host/api/browserWindows.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,5 +785,6 @@ export = (socket: Socket, app: Electron.App) => {
785785
return element;
786786
}
787787
}
788+
return null;
788789
}
789790
};

0 commit comments

Comments
 (0)