《TypeScript入门与实战》 |
软件工匠之路 |
zhongsp / typescript Goto Github PK
View Code? Open in Web Editor NEWTypeScript 使用手册(中文版)翻译。http://www.typescriptlang.org
License: MIT License
TypeScript 使用手册(中文版)翻译。http://www.typescriptlang.org
License: MIT License
Hi zhongsp,
Thanks for your document. It's really helpful for me to learn the ts. But something I didn't get from you document about how to import a online js into ts.
I want to use baidu map into my typescript. But the baidu map api is totally online. The URL is http://api.map.baidu.com/api?v=2.0&ak=test.
I can't download the baidu map api js into my project. And I can't find a way to import this Online js into my ts. Please give me some suggestion. Thanks so much.
TypeScript手册中文版 - Published with GitBook(持续更新中,最新版),目前访问不了。
https://zhongsp.gitbooks.io/doc/handbook/tutorials/index.html 快速上手页面 404
感谢所有贡献者的辛勤工作,提供了这么好的中文文档。
另外,我非常好奇如何管理这样一个共同翻译的项目。我只知道大致的github和gitbook用法。以下是我对于管理这样一个项目的想法和疑问,请给指点,谢谢。
如果是我来做,我可能会这么做:
下面基本是疑问:
麻烦解答尽可能接地气咯,不要说自己搜索一下就会了,搜索了很久还是找不到路,所以才请诸大神赐教。
你可以这样:
解决你的问题可以这样:1、XXXXXXXX2、XXXXXXXX3、XXXXXXXX……
或者
想觉得这些知识推荐你看看这些文章:URL1,URL2,URL3……
或者
有下面这些好用的工具可以用:工具1,工具2,工具3
指条明路我会自己往前走的,先谢过
感谢卓越的翻译工作。
现在家里宽带改造,很长一段时间上不了网,手机信号也不好,移动网络不稳定。如果有PDF版可以下载,就不用网也能看了。你觉得呢?
Lot's of differences. Need to sync.
Source: https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/quick-start/react-webpack.md
你好,
之前你曾经授权给TypeScript中文网中文文档今天上线了。你是否要确认一下。
Angular 2官方文档的中文版已经部署在了https://angular.cn,并且Angular英文版的页脚中也链接到了此处,建议文中指向Angular的部分可以加注中文版地址。
你好,两个月前给你的Gmail邮箱发送过邮件,向你询问是否可以将你翻译的TypeScript中文手册授权TypeScript中文网使用事情,但你一直没有回复,在此向你询问是否可以将你翻译的TypeScript中文手册授权TypeScript中文网使用?
我的联系方式:邮箱[email protected]
e.g.
JS Class : Test
Instance Method : var number =test.size();
Instance Variable : size Type:Number
or
see: http://www.nodegit.org/api/diff_file/
thanks!
您好:我是极客学院 wiki 组的,2月底给您发过邮件,一直没有收到回复。
想和您沟通一下《TypeScript Handbook(中文版)》合作事情。
qq/微信/手机:15010141884
网址:wiki.jikexueyuan.com 可以了解一下
期待您的回复
对TypeScript感兴趣了,找到了您的项目。
迫不急待地读了起来,感到您翻译地很好。
但我初学这个语言,感觉您在表述的个别地方不是很好理解,提一点点小小的意见。
再次感谢您的所做的翻译工作。
1、基础类型
在这里:任意值
但是Object类型的变量只是允许你给它赋任意值 -- 但是你不像在它上面调用任意方法,
2、变更声明
在这里:作用域规则
其中之一就是,多次声明一个变量被不会报错:
还有在这里:重定义及屏蔽
并不是说块级作用域变量不能在函数作用域内声明。 而是块级作用域变量需要在不用的块里声明。
还有在这里:块级作用域变量的获取
当我们最初谈起获取用var声明的变量时,我们主要是说获取后变量的行为是什么。
There will be errors "Error: Cannot find module 'typescript'", when I used the tsify. To slove it , run npm install typescript
;but in the first of this page ,it suggests to run 'npm install -g typescript gulp-cli'.
在类型兼容性一节,起始部分:
TypeScript里的类型兼容性基于结构子类型的。 结构类型是只一种只使用其成员来描述类型的方式。 它正好与名义类型形成对比。
改为如下是不是会更好一些?:
TypeScript里的类型兼容性 是 基于结构子类型的。 结构类型是 只 一种只使用其成员来描述类型的方式。 它正好与 具名 类型形成对比。
nominal 这个词计算机词典中解释为:标称,额定,指定
当我按照这个教程学习TypeScript的时候,
5.选择 ASP.NET 5 Empty 工程模板
到选择工程模板这块时问题来了
我已经安装过VS2015Update3了补丁也更新过了,死活是找不到aspnet5工程模板,
去网上搜索很多是让安装
Microsoft ASP.NET and Web Tools 2015
搜这个东西下载下来的是
DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe
安装这个东西是各种失败啊,各种搜索无果后,想起来在学习PHP的时候搭建PHP环境时
需要安装vcredist_x64.exe(C++运行库),装了之后还是提示孩子啊找不到,装了个32位的
可以了,就想着是不是DotNetCore.1.0.1仅仅装了64位的不行啊,就下载32位的装了,可以了
上面Tools可以安装了,我疯了。
一切就绪准备继续TypeScript学习,依然找asp.net 5工程模板无果,怎么办?快哭了
结果就在google搜索asp.net 5,收到了SCOTT HANSELMAN这货的asp.net 5 is dead,骂了
半天微软,终于明白asp.net 5工程模板是找不到了,asp.net core webapplication的模板可以
继续用,最后看到熟悉的project.json我的内心是崩溃的,洪荒之力已经用完了,终于可以开始
学习TypeScript的了。
我太过纠结了,提个issue的目的是更新下知识库,技术迭代导致这手册难读也算是issue了,keep moving!
There will be errors "Error: Cannot find module 'typescript'", when I used the tsify. To slove it , run npm install typescript
;but in the first of this page ,it suggests to run 'npm install -g typescript gulp-cli'.
打开 https://zhongsp.gitbooks.io/typescript-handbook/content/index.html
html标签上写着 lang="zh-tw"
,但是显然文章是简体字写的,导致文章的所有字体都不正确。
看了看也不知道是哪里的问题……
总之可不可以处理一下这个问题,谢谢。
if (config.color) {
// Error: Property 'collor' does not exist on type 'SquareConfig'
这个地方 if 里边应该是 config.collor 吧, 因为你是想给出一个错误的案例,结果 写的是正确的代码。
The last paragraph of this document : Variable Declarations.md,I can not translate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.