Skip to content

Conversation

@mhegazy
Copy link
Contributor

@mhegazy mhegazy commented Mar 7, 2018

@mhegazy mhegazy added the Breaking Change Would introduce errors in existing code label Mar 7, 2018
@mhegazy mhegazy added this to the TypeScript 2.8 milestone Mar 7, 2018
@mhegazy mhegazy merged commit 963acb3 into master Mar 7, 2018
@mhegazy mhegazy deleted the portGeneratedLibFiles3-7 branch March 7, 2018 22:41
@styfle
Copy link
Contributor

styfle commented Apr 1, 2018

@mhegazy This change broke my code because selectionStart: number is now selectionStart: number | null on interface HTMLInputElement. The same for selectionEnd.

However I don't believe this is correct because MDN doesn't mention that the property is nullable.

When would this return null?

@mhegazy
Copy link
Contributor Author

mhegazy commented Apr 2, 2018

Please file a new ticket and will get it fixed.

@styfle
Copy link
Contributor

styfle commented Apr 2, 2018

@mhegazy Thanks, I created #23094

@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Breaking Change Would introduce errors in existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants