clearFile()
{
(<HTMLInputElement>document.getElementById('uploadFile')).value = "";
}
Gives
[tslint] misplaced opening brace
.
And if I use the opening braces in same line of function, it doesn't give me warning like
clearFile(){
(<HTMLInputElement>document.getElementById('uploadFile')).value = "";
}
This rule is called "one-line" rule And how to configure it in TSLint to handle first type of braces style
Thanks in advance