1. add typescript def file

2. change the function parameters of fetchItems used by tablePaging binding