Description
Just encountered the issue.

Using layout="total, prev, pager, next" as recomended(docs) is wrong and will be fail to pass typescript type checking.
I would say this api is designed too concise. Something like
interface paginationLayout: {
prev?: boolean
next?: boolean
total?: boolean
}
could be better. Just my opinion.