Skip to content

Commit

Permalink
fix: state types
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Nov 15, 2023
1 parent 3bd1142 commit fdc1524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/cmdk/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ export type CommandIds = Record<'root' | 'label' | 'input' | 'list', string>;

export type Context = {
value: (id: string, value: string) => void;
item: (id: string, groupId: string | undefined) => void;
group: (id: string) => void;
item: (id: string, groupId: string | undefined) => () => void;
group: (id: string) => () => void;
filter: () => boolean;
label: string;
commandEl: Writable<HTMLElement | null>;
Expand Down

0 comments on commit fdc1524

Please sign in to comment.