TypeScript承诺示例:TypeScript 1.6和Promise API
该示例展示了TypeScript 1.6和Promise API结合使用的XHR请求示例。安装命令:npm install,使用命令:npm run build,打开index.html文件即可使用。欢迎贡献代码,通过以下步骤创建功能分支:git checkout -b my-new-feature,提交更改:git commit -am 'Add some feature',将更改推送到分支:git push origin my-new-feature,最后提交拉取请求。MIT许可证下发布。
7.3KB
文件大小:
评论区