Skip to content

Commit

Permalink
fix(SliceZone): support Slice components without every Slice prop (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Aug 28, 2023
1 parent 666be29 commit b6a849e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/SliceZone/SliceZone.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
// eslint-disable-next-line @typescript-eslint/no-explicit-any
...args: any[]
) => SvelteComponent<{
slice: SliceLike;
slices: SliceLike[];
context: unknown;
index: number;
slice?: SliceLike;
slices?: SliceLike[];
context?: unknown;
index?: number;
}>;
type SliceComponents = Record<string, SvelteSliceComponent>;
Expand Down

0 comments on commit b6a849e

Please sign in to comment.