随笔分类 -  TypeScript

摘要:[TypeScript] 建立与使用AMD Library 前言 使用Visual Studio开发TypeScript项目时,开发人员可以将可重用的程序代码,封装为AMD Library来提供其他开发人员使用。本篇文章介绍如何将可重用的程序代码封装为AMD Library,主要为自己留个纪录,也希 阅读全文
posted @ 2016-04-25 12:44 Clark159 阅读(1099) 评论(1) 推荐(2) 编辑
摘要:[TypeScript] Dictionary范例Playgroundhttp://tinyurl.com/o7czcxoSamplesclass Dictionary { [index: string]: string;}class Test { public run() { ... 阅读全文
posted @ 2015-07-07 15:47 Clark159 阅读(579) 评论(0) 推荐(1) 编辑
摘要:[TypeScript] TypeScript对象转JSON字符串范例Playgroundhttp://tinyurl.com/njbrnrvSamplesclass DataTable { public columns: Array = new Array(); public rows... 阅读全文
posted @ 2015-07-07 14:16 Clark159 阅读(8987) 评论(0) 推荐(0) 编辑
摘要:[TypeScript] JSON对象转TypeScript对象范例Playgroundhttp://tinyurl.com/nv4x9akSamplesclass DataTable { public columns: Array; public rows: Array;}class ... 阅读全文
posted @ 2015-07-07 11:40 Clark159 阅读(14245) 评论(0) 推荐(1) 编辑
摘要:[TypeScript] 建置输出单一JavaScript档案(.js)与Declaration档案(.d.ts)问题情景开发人员使用Visual Studio来开发TypeScript,可以很方便快速的将项目里的所有TypeScript档案(.ts),一口气全部编译成为JavaScript档案(.... 阅读全文
posted @ 2015-06-11 13:35 Clark159 阅读(1535) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示