fix(pagination): type dispatched update event

This commit is contained in:
Eric Liu 2020-12-05 16:56:33 -08:00
commit ed8977beea
6 changed files with 79 additions and 63 deletions

View file

@ -1,4 +1,8 @@
<script>
/**
* @event {{ pageSize: number; page: number; }} update
*/
/** Specify the current page index */
export let page = 1;