Closed
Description
TypeScript Version: 2.7.1
Search Terms:
formNoValidate
Code
const test = document.createElement('input');
test.formNoValidate = true;
Expected behavior:
compiler shouldn't complain since HTMLInputElement::formNoValidate is supposed to be a boolean value
Actual behavior:
compiler reports an error due to the fact that typescript treats HTMLInputElement::formNoValidate as a string instead of a boolean
Playground Link:
Related Issues: