xsburg / vscode-javascript-booster

Sprinkle extra refactorings, code actions and commands over your JavaScript! 🍩 TypeScript and Flow are first class citizens as well!
https://marketplace.visualstudio.com/items?itemName=sburg.vscode-javascript-booster
160 stars 13 forks source link

Erroneous Typescript Syntax Error #49

Open ErickJensen opened 1 year ago

ErickJensen commented 1 year ago

The following line of code causes the extension to report a syntax error and not function properly even though it is valid Typescript.

const inputElement = <HTMLInputElement>document.getElementById('firstName');