File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class SvelteComponent<
97
97
* Does not exist at runtime.
98
98
* ### DO NOT USE!
99
99
* */
100
- $$prop_def : StripBindable < PropsWithChildren < Props , Slots > > ;
100
+ $$prop_def : StripBindable < Props > ; // Without PropsWithChildren: unnecessary, causes type bugs
101
101
/**
102
102
* For type checking capabilities only.
103
103
* Does not exist at runtime.
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ declare module 'svelte' {
93
93
* Does not exist at runtime.
94
94
* ### DO NOT USE!
95
95
* */
96
- $$prop_def : StripBindable < PropsWithChildren < Props , Slots > > ;
96
+ $$prop_def : StripBindable < Props > ;
97
97
/**
98
98
* For type checking capabilities only.
99
99
* Does not exist at runtime.
You can’t perform that action at this time.
0 commit comments