Lyu, Wei-Da

Results 270 comments of Lyu, Wei-Da

Do you have a `tsconfig.json` or `jsconfig.json`? It looks like maybe your problem isn't about the recent updates.

You can try excluding node_modulus and build directories like `__sapper__` or `.svelte-kit`. From the number of svelte files, I guess it is some sort of hashed generated files.

carbon-icons-svelte have provided typescript definitions. So it's safe to exclude the source files.

Don't know if there is a way to make it only applies to elements with the action. but you can make it globally available like this. ```ts declare namespace svelte.JSX...

The error is correct. The type of Input event is only `InputEvent` on some occasions as mentioned in MDN https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event

Maybe we could hijack the jsdoc's `@template` tag. It doesn't seem to be a jsDoc standard tag but typescript and google's closure-compiler both use it. If svelte2tsx detects it at...

typescript's generic type for jsdoc is done though [`@template`](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#template) As for option 2 it could probably be done by using [`@typedef`](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#typedef-callback-and-param) tag. it can also use like this ```js /**...

Noted until we found any solution to issue #263 a generic prop won't fix the problem of your example. Because of the issue what generic props can do is quite...

This is a limitation we currently have. The syntax transformation under the hooks relies on the AST the svelte compiler returned. So it won't work if there's a syntax error...

I can't reproduce it. Can you try with this config `"svelte.trace.server": "messages"` and post the log in the output channel? It's near the integrated terminal, chose svelte in the dropdown.