Skip to content

Dom lib file bug fix#3354

Merged
zhengbli merged 4 commits into
microsoft:masterfrom
zhengbli:updateDomDTs
Jun 4, 2015
Merged

Dom lib file bug fix#3354
zhengbli merged 4 commits into
microsoft:masterfrom
zhengbli:updateDomDTs

Conversation

@zhengbli
Copy link
Copy Markdown

@zhengbli zhengbli commented Jun 3, 2015

Fix #3344; removed duplicated overloads for createEvent and some
minor fixes.

Fix microsoft#3344; removed duplicated overloads for ``createEvent`` and some
minor fixes.
Comment thread src/lib/dom.generated.d.ts Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is causing an error as DocumentEvent is not assignable to Event, as it does not inherit from it. is this by design?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is not by design, it's because in the script I treated interfaces with a name ended with "Event" as event names. I added additional checking for the extended base interface to be 'Event', DocumentEvent turns out to be the only exception. Updating it soon.

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jun 3, 2015

👍

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jun 3, 2015

this needs to get into release-1.5 branch. We need to check RWC results first though.

zhengbli pushed a commit that referenced this pull request Jun 4, 2015
@zhengbli zhengbli merged commit 4120b22 into microsoft:master Jun 4, 2015
@zhengbli zhengbli deleted the updateDomDTs branch June 25, 2015 21:17
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

texImage2D broken as of tsc 1.5

3 participants