Simon H
Simon H
This adds typings for HTML elements and their attributes. It's supposed to be used by the new transformation in language-tools. Open questions: - should the event typings be `onclick: ...`...
This issue is intended to collect breaking changes we want to do for the next major version of `svelte-preprocess`. What currently comes to my mind: - remove support for the...
**Is your feature request related to a problem? Please describe.** Some preprocessors might not return a source map. This breaks the "chain" of source maps and the result is that...
**Describe the bug** When using TypeScript and setting the tsconfig setting `importHelpers` to `true`, TypeScript will not inline transpilation helpers and instead import them from `tslib`. Since the instance and...
Draft PR to move the package functionality out of SvelteKit. This makes the following decisions (all up for discussion): - New package is called `@sveltejs/package` - Package has its own...
Error when trying to assign a subclass of a base class with generics to `typeof` of that base class
**TypeScript Version:** 4.1.2 **Search Terms:** class generic extends typeof 2322 I stumbled upon a type error when trying to assign a subclass of a base class with generics to `typeof`...
## [this is now the feedback thread] This was implemented according to [this RFC](https://github.com/sveltejs/rfcs/pull/38). Please provide feedback about using it in this thread. ## Original Post There are several issues...
on:click -> "on:click" instead of on:click -> "onclick" Related to https://github.com/sveltejs/svelte/pull/7649 - @jasonlyu123 this is what you had in mind, right?
#1243 #431 This assumes we also enhance the typing of the action type in Svelte core so they match. Assuming we have this: ```ts export interface ActionReturn { update?: (parameter:...
The new transformation which transforms Svelte to TS code instead of TSX code for intellisense purposes has been in beta for a while now, and I think it's stable enough...