Skip to content

Commit

Permalink
feat(use-slide-list): adjust id return type
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Oct 9, 2023
1 parent 71aa11a commit 4de4123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use-slide-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface RenderOpts {
}
interface UseSlideList<T> {
initial: T;
id: <V>(i: T) => V | T;
id: (i: T) => unknown;
render: (i: T, o: RenderOpts) => TemplateResult<1>;
}

Expand Down

0 comments on commit 4de4123

Please sign in to comment.