Lyu, Wei-Da

Results 270 comments of Lyu, Wei-Da

It doesn't make sense to hide this warning in this context. As far as I know, The scoped CSS won't apply to elements injected by `{@html}`. You would have to...

You can fix the error if you type the tag variable as a literal type like ```ts let tag: 'a' | 'button' = 'a' ```

The `Object literal may only specify known properties, and '"href"' does not exist in type 'HTMLAttributes'` error can be fixed if you use literal type for element tag. If it...

I am not sure if you understand the linked language-tools issue correctly. The problem mentioned there is that: In `{ a?: string }`, a is always `string | undefined`. so...

It's indeed a false positive for catching bubbled event. But the compiler won't know that there is a button inside the slot. That's why there is the `` comment that...

Transferred to the svelte core for the bubble problem. But I think this is a false positive where you can use the ignore comment to hide it. It's a comparatively...

Seems like a bug so I retain the bug tag before the transfer. It seems to be related to the `svelte:fragment` implementation Ignore comment works on the element with slot...

It should work in ts/js files. You probably missed this section in the README https://github.com/mrmckeb/typescript-plugin-css-modules?tab=readme-ov-file#visual-studio-code. That's the first problem I encounter when opening your reproduction. And for svelte files, it's...

We didn't use the normal command but created a "Svelte: Find Component References" because find-reference is triggered from a symbol. But there isn't a symbol to trigger. Using the script...

I don't understand what you meant by "resulting in modified files in neovim" and "results in invalid file modifications"? But judging by the "expected behaviour", maybe it's because the formatting...