GitHub / sveltejs/svelte issues and pull requests
Labelled with: types / typescript
#16155 - Svelte TypeScript declares runes in global scope, giving illusion that it is available outside of svelte files
Issue -
State: open - Opened by KieranP 6 months ago
- 1 comment
Labels: types / typescript
#16117 - feat: add `command` and `commandfor` to `HTMLButtonAttributes`
Pull Request -
State: closed - Opened by h4ckedneko 6 months ago
- 6 comments
Labels: types / typescript, blocked by upstream
#16082 - Add support for `onscrollsnapchanging` and `onscrollsnapchange` events
Issue -
State: open - Opened by korywka 6 months ago
- 3 comments
Labels: types / typescript, blocked by upstream
#16079 - `xmlns` attribute not present in HTMLAttributes type
Issue -
State: closed - Opened by christophsanz 6 months ago
- 1 comment
Labels: good first issue, types / typescript
#16046 - 5.33.2, `SvelteHTMLElements` and generics issues
Issue -
State: closed - Opened by rChaoz 6 months ago
- 2 comments
Labels: types / typescript
#15935 - `@attach` should accept falsely value
Issue -
State: closed - Opened by RyanYANG52 7 months ago
Labels: types / typescript
#15924 - Regression with types after Attachments
Issue -
State: closed - Opened by huntabyte 7 months ago
- 3 comments
Labels: types / typescript
#15883 - Support TypeScript generics on snippets
Issue -
State: closed - Opened by WarningImHack3r 7 months ago
- 5 comments
Labels: feature request, types / typescript
#15473 - chore: don't distribute unused types definitions
Pull Request -
State: open - Opened by benmccann 9 months ago
Labels: types / typescript
#15473 - chore: don't distribute unused types definitions
Pull Request -
State: closed - Opened by benmccann 9 months ago
- 5 comments
Labels: types / typescript
#15415 - Add View Transition types
Issue -
State: closed - Opened by Turbocat6413 9 months ago
- 1 comment
Labels: types / typescript, blocked by upstream
#14673 - `autocorrect` missing from `<textarea>` html props in Svelte 5
Issue -
State: closed - Opened by rileylyman 12 months ago
- 1 comment
Labels: types / typescript
#14455 - Function Overloading Bugging Rollup when Reading .svelte Files
Issue -
State: closed - Opened by elizeuangelo about 1 year ago
- 1 comment
Labels: types / typescript
#14390 - Add aria-description to HTML Attributes
Issue -
State: open - Opened by lucas-subli about 1 year ago
- 2 comments
Labels: types / typescript, a11y
#14256 - [bug] private `ComponentType` interface breaks type declarations
Issue -
State: closed - Opened by Theo-Steiner about 1 year ago
- 4 comments
Labels: types / typescript
#13959 - False positive TypeScript error when spreading attributes on div HTML element
Issue -
State: open - Opened by kwangure about 1 year ago
- 2 comments
Labels: types / typescript
#13491 - Migration: Add correct type for `bind:this` of `Components` when using the migration script
Issue -
State: open - Opened by FoHoOV about 1 year ago
Labels: types / typescript
#13268 - Svelte 5: Action parameters type inferred as 'any' despite explicit typing
Issue -
State: closed - Opened by colinlienard about 1 year ago
- 3 comments
Labels: types / typescript
#13259 - add typings for svelte/events on(document, on(window
Issue -
State: closed - Opened by leon about 1 year ago
Labels: types / typescript
#13128 - [Svelte 5] typescript file in library folder which uses svelte/store does not generate d.ts file
Issue -
State: closed - Opened by maxfriedmann over 1 year ago
Labels: types / typescript
#12665 - Svelte 5: The `on` function types do not allow it to be used with `MediaQueryList`
Issue -
State: closed - Opened by Serator over 1 year ago
- 6 comments
Labels: awaiting submitter, types / typescript
#12655 - Class state has a fundamental typing flaw
Issue -
State: closed - Opened by elliott-with-the-longest-name-on-github over 1 year ago
- 19 comments
Labels: types / typescript
#12292 - Expose Svelte AST node types from `svelte/compiler` to public
Issue -
State: closed - Opened by xeho91 over 1 year ago
- 5 comments
Labels: types / typescript
#12202 - Using a generic type as an argument to a Snippet breaks types generation of a component
Issue -
State: closed - Opened by tommyminds over 1 year ago
- 4 comments
Labels: types / typescript
#12066 - svelte@5.0.0-next.157 breaks `svelte-check`
Issue -
State: closed - Opened by lts20050703 over 1 year ago
- 1 comment
Labels: types / typescript
#12045 - Svelte 5: The `on` of `svelte/events` is restricted to use with `Element` only
Issue -
State: closed - Opened by Serator over 1 year ago
Labels: types / typescript
#12027 - svelte/events `on` does not allow specifying event type
Issue -
State: closed - Opened by minht11 over 1 year ago
Labels: types / typescript
#11731 - Svelte 5: Cannot specify `this`' type in TypeScript
Issue -
State: closed - Opened by Florob over 1 year ago
- 3 comments
Labels: types / typescript
#11472 - Svelte 5: `ComponentType` is still a constructor
Issue -
State: closed - Opened by r-thomson over 1 year ago
- 7 comments
Labels: types / typescript
#11415 - Svelte 5: Type issues with derived store / page store
Issue -
State: closed - Opened by rChaoz over 1 year ago
- 1 comment
Labels: types / typescript
#11257 - Discriminating union does not work in template
Issue -
State: closed - Opened by TomDo1234 over 1 year ago
- 2 comments
Labels: types / typescript
#10839 - Invalid types generated (likely dts-buddy bug)
Issue -
State: closed - Opened by dummdidumm over 1 year ago
Labels: bug, types / typescript
#10530 - Svelte 5: optional snippet parameters with typescript
Issue -
State: closed - Opened by propolies almost 2 years ago
- 4 comments
Labels: types / typescript
#10394 - Add types for `fetchpriority` on link and script elements
Issue -
State: closed - Opened by oscarhermoso almost 2 years ago
- 1 comment
Labels: types / typescript
#10393 - Svelte 5, an error should be thrown when event isn't defined
Issue -
State: closed - Opened by rob-balfre almost 2 years ago
- 5 comments
Labels: types / typescript, blocked by upstream
#9957 - `on:input` improper type for TypeScript
Issue -
State: closed - Opened by jerrygreen almost 2 years ago
- 7 comments
Labels: types / typescript
#9866 - Svelte 5: `derived` type is not overloaded
Issue -
State: closed - Opened by huntabyte almost 2 years ago
Labels: types / typescript
#9167 - (Type) Comments in {:then }
Issue -
State: closed - Opened by negue over 2 years ago
- 6 comments
Labels: types / typescript
#9130 - Make TS Discriminating Unions Props Possible
Issue -
State: closed - Opened by arkmech over 2 years ago
- 15 comments
Labels: types / typescript
#9084 - Reorder the type parameters of `derived`
Issue -
State: closed - Opened by JeanJPNM over 2 years ago
- 2 comments
Labels: types / typescript, blocked by upstream
#8936 - Typescript Error when defining custom elements as a consumer in Svelte v4
Issue -
State: closed - Opened by afreidz over 2 years ago
Labels: good first issue, types / typescript
#8638 - Update `data-sveltekit-` attribute types to allow `boolean | "true" | "false"`
Issue -
State: open - Opened by Rich-Harris over 2 years ago
Labels: types / typescript
#8476 - Is there a way to allow in my custom component the `data-*` props?
Issue -
State: closed - Opened by frederikhors over 2 years ago
- 7 comments
Labels: types / typescript
#8291 - Expose generic type which extracts type of a store's underlying value.
Issue -
State: open - Opened by joeally almost 3 years ago
- 2 comments
Labels: types / typescript
#8210 - Typescript doesn't catch using nonexistent fields on refs
Issue -
State: open - Opened by erezarnon almost 3 years ago
- 1 comment
Labels: types / typescript
#8136 - fix: update onMount type definition to prevent async function return
Pull Request -
State: closed - Opened by chrskerr almost 3 years ago
- 4 comments
Labels: types / typescript, breaking change
#7822 - Make `context` type less specific
Issue -
State: closed - Opened by brunnerh over 3 years ago
- 2 comments
Labels: types / typescript
#7718 - The getContext function has incorrect type signature
Issue -
State: closed - Opened by SoundAsleep192 over 3 years ago
- 4 comments
Labels: runtime, types / typescript
#7358 - fix: export types needed for defining custom stores
Pull Request -
State: closed - Opened by vrde over 3 years ago
- 7 comments
Labels: types / typescript
#7358 - fix: export types needed for defining custom stores
Pull Request -
State: closed - Opened by vrde over 3 years ago
- 7 comments
Labels: types / typescript