File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,12 @@ type $Props = {
119119 [ key : `data-${string } `] : any ;
120120} ;
121121
122- export type ButtonProps = Omit < $RestProps , keyof $Props > & $Props ;
122+ export type ButtonProps = Omit <
123+ $RestProps ,
124+ keyof ( $Props & ButtonSkeletonProps )
125+ > &
126+ $Props &
127+ ButtonSkeletonProps ;
123128
124129export default class Button extends SvelteComponentTyped <
125130 ButtonProps ,
Original file line number Diff line number Diff line change @@ -53,7 +53,12 @@ type $Props = {
5353 [ key : `data-${string } `] : any ;
5454} ;
5555
56- export type DataTableSkeletonProps = Omit < $RestProps , keyof $Props > & $Props ;
56+ export type DataTableSkeletonProps = Omit <
57+ $RestProps ,
58+ keyof ( $Props & DataTableHeader )
59+ > &
60+ $Props &
61+ DataTableHeader ;
5762
5863export default class DataTableSkeleton extends SvelteComponentTyped <
5964 DataTableSkeletonProps ,
You can’t perform that action at this time.
0 commit comments