lib.dom.d.ts - HTMLTextAreaElement, HTMLInputElement do not have "minLength" property #7197
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript 1.7.5, but also in master:
Code
Expected behavior:
No compiler error.
Actual behavior:
Compiler error:
Property 'minLength' does not exist on type 'HTMLTextAreaElement'
,Property 'minLength' does not exist on type 'HTMLInputElement'
HTML5 spec: https://www.w3.org/TR/html5/forms.html#the-maxlength-and-minlength-attributes
The text was updated successfully, but these errors were encountered: