zTree / zTree_v3

jQuery Tree Plugin
MIT License
4.1k stars 1.28k forks source link

improve Typescript definition file. #437

Closed UtillYou closed 4 years ago

UtillYou commented 4 years ago

Improve Typescript definition file. Change the original IJson to more concrete ITreeNode interface. Add Promise support to callbacks.

完善Typescript 定义文件,将原来笼统的 IJson 转为更具体的 ITreeNode. 同时为回调添加 Promise支持。 async.url 添加函数支持。重命名 dataTypeDataType