Skip to content

Commit

Permalink
fix: move MetaProps to its own declaration to allow for overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti authored Sep 12, 2023
1 parent 878d829 commit 7d5a055
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ interface TemplateProps extends BaseAnnotations<any, DecoratorReturnType> {
id?: string;
}

interface MetaProps extends BaseMeta<any> extends BaseAnnotations<any, DecoratorReturnType> { }

interface Slots {
default: {
args: any;
Expand All @@ -54,7 +56,7 @@ interface Slots {
/**
* Meta.
*/
export class Meta extends SvelteComponent<BaseMeta<any> & BaseAnnotations<any, DecoratorReturnType>> { }
export class Meta extends SvelteComponent<MetaProps> { }
/**
* Story.
*/
Expand Down

0 comments on commit 7d5a055

Please sign in to comment.