19 lines
338 B
TypeScript
19 lines
338 B
TypeScript
import { bell } from '@futureporn/taco'
|
|
import { IPagination } from '@futureporn/types'
|
|
|
|
function main() {
|
|
const page: IPagination = {
|
|
page: 5,
|
|
pageCount: 20,
|
|
pageSize: 50,
|
|
total: 365
|
|
}
|
|
|
|
console.log(bell()+' page:'+page.page)
|
|
setTimeout(() => {
|
|
return main()
|
|
}, 2000)
|
|
}
|
|
|
|
main()
|