In .tsx
files, when writing a type definition containing a sub type, VSCode (Emmet) expands it as if it was a JSX tag. Does anybody know how to prevent this behaviour while keeping the functionality for standard JSX?
Example:
const a: MyType<Something
generates the following when typing the closing >
:
const a: MyType<Something></Something>
While the expected result is:
const a: MyType<Something>
Note that this happens inside and outside of React components and JSX statements.