Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Electron 1.4.2 #11766

Merged
merged 2 commits into from Oct 6, 2016
Merged

Update to Electron 1.4.2 #11766

merged 2 commits into from Oct 6, 2016

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Oct 6, 2016

case 2. Improvement to existing type definition.

  • documentation or source code reference which provides context for the suggested changes. url http://api.jquery.com/html .
    • it has been reviewed by a DefinitelyTyped member.

@dt-bot
Copy link
Member

dt-bot commented Oct 6, 2016

github-electron/github-electron.d.ts

to authors (@jedmao @rhysd @miniak). Could you review this PR?
👍 or 👎?

Checklist

  • pass the Travis CI test?

@@ -740,7 +751,7 @@ declare namespace Electron {
* The BrowserWindow class gives you ability to create a browser window.
* You can also create a window without chrome by using Frameless Window API.
*/
class BrowserWindow extends EventEmitter {
class BrowserWindow extends EventEmitter implements Destroyable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although it is not a modification in this PR, I think we can use NodeJS.EventEmitter. It was interface previously, but now it's a class and can be extended.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to use NodeJS.EventEmitter

@rhysd
Copy link
Contributor

rhysd commented Oct 6, 2016

Nice work 👍

@mhegazy mhegazy merged commit 934e917 into DefinitelyTyped:master Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants