Skip to content

Commit

Permalink
Update Typescript.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander authored Sep 3, 2024
1 parent 2de5bb6 commit f5417d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/Typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ interface Friend {
}

const db = new Dexie('FriendsDatabase') as Dexie & {
friends: EntityTable<
Friend,
'id' // primary key "id" (for the typings only)
>;
friends: EntityTable<Friend, 'id'>
};

// Schema declaration:
Expand Down

0 comments on commit f5417d4

Please sign in to comment.