Lyu, Wei-Da

Results 257 comments of Lyu, Wei-Da

Guess your local build is still an old version. It did work before but we changed the way we transform the $store variable a while ago to fix some type-checking...

That seems to be because Typescript thinks that's possibly a typo for `onkeyup`. If you use `handleKeyup` it would show up. Not sure what can we do about it.

The type for `fetchpriority` is added in [svelte 4.2.10](https://github.com/sveltejs/svelte/releases/tag/svelte%404.2.10). Update your local svelte version to the latest should solve it. But if you're still using Svelte 3 and prefer to...

I tried to log the duration of the audio element using an action ```svelte const action = (audio) => { console.log(audio.duration) } ``` it behaves differently on firefox and chrome....

https://github.com/sveltejs/svelte/blob/c752ed3527a64a5705c3e005f9bc18862fa6ad3a/src/compiler/compile/render_dom/wrappers/Element/index.ts#L619 I'm guessing it has something to do with the line. it would not check the value if the variable is already initialized. Maybe because these binding are readonly. On...

It seems like TypeScript tweaked the logic in an unrelated change in TypeScript 5.5. Some logic in that "should use require check" was changed from a property where we can...

The problem isn't something to do with svelte core. So no, it won't be possible in Svelte 5. > Is there a chance that this could work some day? Maybe....

I think you have another extension that provides CSS class completions for html. For example, [vscode-html-css](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css) or [IntelliSense for CSS class names in HTML](https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion)

It's most likely because there isn't a type definition for the custom element and unrelated to this issue. You'll need to enhance the typing https://svelte.dev/docs/typescript#enhancing-built-in-dom-types. You can use the `HTMLAttributes`...