3 ms·
OK, so plugins can enhance code editing. But what about compile-time checks? With TSX, if you have a mis-matched tag the TypeScript compiler will give you an er
by petilon 7y ago
OK, so plugins can enhance code editing. But what about compile-time checks? With TSX, if you have a mis-matched tag the TypeScript compiler will give you an error.
- spankalee 7y agoSame with lit-html and the TypeScript compiler plugin.
- petilon 7y agoAll I am able to find is this "intellisense" (i.e. editing time) plug-in: https://github.com/microsoft/typescript-lit-html-plugin https://github.com/microsoft/typescript-lit-html-plugin Where is the plug-in that does compile-time checks of HTML tags and attributes?
- spankalee 7y agoThis is the VS Code plugin: https://marketplace.visualstudio.com/items?itemName=runem.lit-plugin https://marketplace.visualstudio.com/items?itemName=runem.li... This is the tsc plugin: https://www.npmjs.com/package/ts-lit-plugin https://www.npmjs.com/package/ts-lit-plugin