You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two samples are equivalent. Using one over the other is mostly a choice of preference; however, when using TypeScript with JSX, only as-style assertions are allowed.
So perhaps this shouldn't be considered a bug after all. I'll let you be the judge of that 👍
Following MaxMEllon/vim-jsx-pretty#114, I was looking for an alternative to
vim-jsx-pretty
for TypeScript, and found this.Unfortunately it seems this plugin also suffers from the same bug when inside a
tsx
file (luckily, it doesn't happen for regular.ts
files):Minimal
.vimrc
to reproduce (withvim-plug
)Additional information
This came up through leafgarland/typescript-vim#134 initially.
Please let me know if I can provide any additional information :)
The text was updated successfully, but these errors were encountered: