diff --git a/src/api/libraryApi.ts b/src/api/libraryApi.ts index d89be737..431e1cb6 100644 --- a/src/api/libraryApi.ts +++ b/src/api/libraryApi.ts @@ -3,7 +3,7 @@ import axios from 'axios'; import { BookInfo, BorrowedBookInfo, BookListSearch, PageAndSize } from './dto'; const libraryKeys = { - base: ['books'], + base: ['books'] as const, bookList: (params: BookListSearch) => [...libraryKeys.base, params] as const, borrowedBookList: () => [...libraryKeys.base, 'bookBorrows'] as const, };