Skip to content

Commit 3cd25e1

Browse files
authored
Merge pull request #4642 from factiondavid/patch-1
Update UsageWithTypescript.md
2 parents e025f32 + 30b6668 commit 3cd25e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/UsageWithTypescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ interface Book {
615615
}
616616

617617
// highlight-next-line
618-
const booksAdapter = createEntityAdapter<Book>({
619-
selectId: book => book.bookId,
618+
const booksAdapter = createEntityAdapter({
619+
selectId: (book: Book) => book.bookId,
620620
sortComparer: (a, b) => a.title.localeCompare(b.title)
621621
})
622622

0 commit comments

Comments
 (0)