Closed XiNiHa closed 1 year ago
Although the behavior is very inconsistent between browsers and situations, selectionStart and selectionEnd of HTMLInputElement and HTMLTextAreaElement are actually nullable. This PR fixes their type definitions to match reality.
selectionStart
selectionEnd
HTMLInputElement
HTMLTextAreaElement
Although the behavior is very inconsistent between browsers and situations,
selectionStart
andselectionEnd
ofHTMLInputElement
andHTMLTextAreaElement
are actually nullable. This PR fixes their type definitions to match reality.