Closed
Description
TypeScript Version:
1.8.7
Code
var input = document.createElement('input');
var dir = input.selectionDirection;
input.setSelectionRange(0, 0, 'none');
Expected behavior:
selectionDirection property would be accessible for HTMLInputElements and I would be able to set selectionDirection propety using setSelectionRange.
Actual behavior:
Lines 2 and 3 of the above code give the errors:
Property 'selectionDirection' does not exist on type 'HTMLInputElement'.
Supplied parameters do not match any signature of call target.