Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kovalskyi committed Oct 30, 2024
1 parent eb2fc14 commit 62f86a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export type StoreKey<
export type IndexNames<
DBTypes extends DBSchema | unknown,
StoreName extends StoreNames<DBTypes>,
> = DBTypes extends DBSchema ? keyof DBTypes[StoreName]['indexes'] : string;
> = DBTypes extends DBSchema ? keyof DBTypes[StoreName]['indexes'] & string : string;

/**
* Extract the types of indexes in certain object stores from the DB schema type.
Expand Down

0 comments on commit 62f86a7

Please sign in to comment.