Skip to content

Conversation

@mariusschulz
Copy link
Contributor

Fixes microsoft/TypeScript#20419.

The start and end parameters of the HTMLInputElement.setSelectionRange() API are not optional.

In addition, the direction parameter only accepts one of three string values, which is why it's now typed using string literal types.

@mhegazy mhegazy merged commit 7a5ec9d into microsoft:master Jan 4, 2018
BuckAMayzing added a commit to BuckAMayzing/TSJS-lib-generator that referenced this pull request Aug 3, 2019
BuckAMayzing added a commit to BuckAMayzing/TSJS-lib-generator that referenced this pull request Aug 3, 2019
sandersn pushed a commit that referenced this pull request Nov 14, 2019
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.

2 participants