zhongsp
59eed7c9bb
Add simpler example of inheritance. PR679
2017-11-15 08:06:34 +08:00
zhongsp
346f50b772
Merge branch 'master' of https://github.com/zhongsp/TypeScript
2017-11-15 07:47:27 +08:00
zhongsp
ed575dace7
satisfy markdown lint
2017-11-15 07:46:56 +08:00
Noodles
3804cc48fb
一处翻译错误 modified: doc/handbook/Basic Types.md ( #196 )
2017-11-10 13:25:19 +08:00
zhongsp
bca48868b8
Topic: "Type checking JavaScript files". PR677. closed #194
2017-11-07 08:39:44 +08:00
zhongsp
9ae2d22cce
Updated section on enums. #193
2017-11-06 18:15:44 +08:00
zhongsp
8ad8cd0b0e
Fix syntax error. PR678
2017-11-02 11:49:26 +08:00
zhongsp
4ec65fcfc7
Add --strict compiler option in msbuild. PR676
2017-11-02 11:47:46 +08:00
zhongsp
6662e173d0
Don't even mention the entry point for running npm init in the React/Webpack sample. PR673
2017-11-02 11:46:32 +08:00
zhongsp
3241de81ff
Update link to webpack v2 configuration docs. PR671
2017-11-02 11:42:44 +08:00
zhongsp
787d7c5ab6
add description of declaration-including package to Consumption.md. PR667
2017-11-02 11:41:39 +08:00
zhongsp
a59954a594
Change var to let. PR669
2017-10-24 19:22:13 +08:00
zhongsp
066ab01dd8
--lib defaults are a list of libraries. PR666
2017-10-24 19:19:23 +08:00
zhongsp
6b1f6e240f
Add documentation for --strictFunctionTypes
2017-10-24 19:12:29 +08:00
zhongsp
c82b712b53
Clarify numeric value to enum behavior using a code comment. PR659
2017-10-16 08:02:17 +08:00
zhongsp
b03be3220d
minor grammar fix. fPR657
2017-10-16 08:00:33 +08:00
zhongsp
4d813bf550
Fix package.json "dependencies" syntax. PR656
2017-10-16 07:56:58 +08:00
zhongsp
97c8620a01
React & React-Dom file location changed. PR651
2017-10-16 07:51:48 +08:00
zhongsp
9bd4921c57
Update JSX page. PR596
2017-10-09 08:52:09 +08:00
zhongsp
731b6ab6e9
modify PR
2017-10-09 08:13:16 +08:00
罗泽轩
e6ab117108
Fix typo and slightly improve readability. ( #192 )
2017-10-05 10:14:46 +08:00
zhongsp
acd3190986
Fix react component type passed to generic. PR648
2017-09-27 08:32:40 +08:00
zhongsp
2fd0fd995a
Remove an unecessary parenthesis. PR646
2017-09-27 08:27:35 +08:00
zhongsp
01da797e9c
fix markdown format
2017-09-27 08:26:35 +08:00
zhongsp
72939856b3
Fix incorrect documentation. PR643
2017-09-27 08:24:35 +08:00
zhongsp
d54c788b6d
remove property decorator misleading line. PR642
2017-09-27 08:20:25 +08:00
zhongsp
9402423cae
Add a new line before "It is a compile time ...". PR639
2017-09-27 08:12:56 +08:00
zhongsp
0f31e38bed
Add 2.5 compiler options for MSBuild to handbook. PR640
2017-09-27 08:09:01 +08:00
小乔布斯
7a487aa7bf
修改错误的链接。 ( #190 )
2017-09-04 08:05:38 +08:00
zhongsp
7ad1b01463
Suggestion for a new code example. PR637
2017-08-25 08:54:52 +08:00
zhongsp
7cc8a1e699
Update TypeScript in 5 minutes.md. PR636
2017-08-25 08:52:51 +08:00
zhongsp
10861343fd
Document --preserveSymlinks
compiler option. PR632
2017-08-17 09:18:39 +08:00
zhongsp
a867ba8b84
Try to clarify what an "own, enumerable property" is. PR604
2017-08-17 09:16:00 +08:00
zhongsp
2825e54576
Fix typos. PR635
2017-08-17 09:12:58 +08:00
zhongsp
247bffb75e
Fixed markdown hyperlink not linking. PR617
2017-08-17 09:11:29 +08:00
zhongsp
23eb397095
Fix method name. PR612
2017-08-17 09:10:38 +08:00
zhongsp
57c8fbcd99
Update TypeScript 2.1.md. PR634
2017-08-17 09:09:49 +08:00
zhongsp
2d4048ee21
Correct spacing. PR633
2017-08-17 09:08:37 +08:00
zhongsp
52649aa8d4
A misprint in a code comment. PR631
2017-08-17 09:07:16 +08:00
zhongsp
7b840db20c
Updated module resolution doc to match new rules. PR628
2017-08-17 09:05:21 +08:00
zhongsp
84f4224b01
Add line breaks. PR620
2017-08-17 09:03:23 +08:00
zhongsp
f6c941670e
Use defined variable a. PR619
2017-08-17 09:02:00 +08:00
zhongsp
94782f5824
Fix broken link to concatenating modules. PR616
2017-08-17 09:01:03 +08:00
zhongsp
6cee465cfb
Fixed error message in ts in 5 tutorial. PR602
2017-08-17 09:00:11 +08:00
zhongsp
7d81526218
update compiler options
2017-08-17 08:58:49 +08:00
zhongsp
759d4f894a
Fix Best common type. PR592
2017-08-17 08:55:41 +08:00
Shawn Zhong
f240e6d43d
Fix typo ( #185 )
...
Typo: Visual Studior --> Visual Studio
2017-08-14 14:32:45 +08:00
zhongsp
4f48f6fdde
Fix typo. fixed #183 .
2017-07-17 12:30:48 +08:00
zhongsp
ce3c1d8d8c
fix broken link
2017-07-13 12:59:37 +08:00
zhongsp
74cf605df3
what is new in ts 2.4. closed #180
2017-07-08 12:09:56 +08:00
zhongsp
5285a73e99
Clarified and expanded section on rootDirs. closed #168 .
2017-06-30 17:50:59 +08:00
小乔布斯
a7670297e2
修复错误和描述语句优化 ( #179 )
2017-06-28 14:26:01 +08:00
zhongsp
f5cade0920
fix translation
2017-06-23 15:10:38 +08:00
zhongsp
3f405e1477
fix issue
2017-06-21 15:42:02 +08:00
zhongsp
9f4558e5a8
fix translation
2017-06-19 09:52:35 +08:00
zhongsp
016867c8e8
fix translation
2017-06-19 09:49:52 +08:00
Patrick Zhong
acd8275c8c
Update README.md
2017-06-18 10:36:03 +08:00
Patrick Zhong
2bec6dd4f6
fix broken link
2017-06-18 10:35:27 +08:00
zhongsp
e672c0ad9e
new quick starts
2017-06-18 10:28:08 +08:00
zhongsp
0e1c541e00
Add a missing "this". PR609
2017-06-17 12:24:34 +08:00
zhongsp
14e0622d47
Remove backslash path separators. PR608
2017-06-17 12:22:33 +08:00
zhongsp
c435f97aa8
Small documentation fixes. PR600
2017-06-17 12:20:21 +08:00
zhongsp
14fbda3d91
Corrected Spacing in Functions.md, 4th code eg. PR599
2017-06-17 12:18:25 +08:00
小乔布斯
b176783ef4
新增TypeScript 2.3,修复和优化一些内容。 ( #178 )
2017-06-16 08:32:43 +08:00
leo
19e2f12ed7
fix a tiny error ( #177 )
2017-06-15 13:14:59 +08:00
zhongsp
98038a4b7f
improve translation
2017-06-12 19:10:49 +08:00
minchao
317166f879
Fix translation ( #175 )
...
```
That’s not to say that block-scoped variable can never be declared with a function-scoped variable. The block-scoped variable just needs to be declared within a distinctly different block.
```
2017-06-12 19:03:18 +08:00
Arz Yu
16e2a02594
修正笔误:“一周” => ”一同“ ( #176 )
2017-06-12 19:02:11 +08:00
zhongsp
73d7a70930
satisfy lint
2017-05-30 09:54:41 +08:00
zhongsp
97ef663eaf
Update asp.net guide to work with VS2017 and npm3. PR590
2017-05-30 09:52:31 +08:00
zhongsp
4778902168
Fix a broken link to atom-typescript. PR595
2017-05-30 09:17:35 +08:00
zhongsp
262920a7b2
update asp.net core wording. PR583
2017-05-23 08:51:34 +08:00
zhongsp
66c7526e6c
improve translation
2017-05-17 15:09:51 +08:00
zhongsp
c034274089
New tutorial: TypeScript in 5 minutes. #173
2017-05-16 10:20:35 +08:00
zhongsp
516dff1bfc
removing a couple tutorials. PR576
2017-05-13 14:11:52 +08:00
agrimony
a4a2d97e85
Update Library Structures.md ( #172 )
2017-05-12 09:57:28 +08:00
zhongsp
29dd5ed5a7
Fix error in "install dependencies" section of the Gulp handbook. PR573
2017-05-10 16:33:35 +08:00
zhongsp
5636f266b0
updated docs to reference quick starts. PR582
2017-05-10 16:29:31 +08:00
zhongsp
457fa85a7d
Correct typo error. Added export keyword with MyApp module class definition. PR561
2017-05-10 16:14:33 +08:00
zhongsp
7af6cae2a2
Suggestion to change 'type' to 'destructuring' to describe function declaration with destructuring and default values. PR560
2017-05-09 08:59:55 +08:00
zhongsp
5f816c85e3
fixed invalid "import let". PR557
2017-05-09 08:53:49 +08:00
zhongsp
bfeff2ca77
'constructor' typo in migration from javascript tutorial. PR554
2017-05-09 08:52:19 +08:00
zhongsp
a08e00e9e7
fix translation
2017-05-09 08:49:47 +08:00
Patrick Zhong
d62f6aae7b
Prescriptive React walkthrough. PR512. #167 .
2017-05-01 20:01:53 +08:00
zhongsp
ed4c4ce0b7
breaking changes for TS 2.3. #169
2017-04-22 19:51:34 +08:00
zhongsp
5dab5e8818
breaking changes for TS 2.2. #169
2017-04-22 19:48:47 +08:00
zhongsp
b8d2d117dd
breaking changes for TS 2.1. #169
2017-04-17 14:27:24 +08:00
zhongsp
709e7d96d6
Correct a mistake in the original text. PR537
2017-04-15 09:31:24 +08:00
zhongsp
5c9744faa5
Correct a typo. PR536
2017-04-15 09:23:12 +08:00
zhongsp
1bd096e627
Updated JSX ReadMe for DefinitelyTyped url for React. PR543
2017-04-15 09:16:49 +08:00
zhongsp
ff21cd7e20
feat: paths mapping relative to baseUrl. PR541
2017-04-15 09:15:24 +08:00
zhongsp
c0c47fd94c
Fix inconsistency in the module document. PR532
2017-04-04 11:07:18 +08:00
zhongsp
71ace9e41f
Missing and misplaced semicolons. PR535
2017-04-04 10:59:21 +08:00
zhongsp
ed2e0d46e7
Update Description for isolatedModules flag. PR526
2017-03-24 09:22:39 +08:00
zhongsp
09446c6da7
Update info in --module compiler option. PR530
2017-03-24 09:19:11 +08:00
zhongsp
bf2789fa0e
Update link to decorators spec. PR529
2017-03-24 09:14:25 +08:00
Bob.Chen
118c18cb55
修改翻译错误 ( #165 )
2017-03-18 17:54:25 +08:00
zhongsp
69854902d8
add example for class decorator. PR528
2017-03-17 08:45:33 +08:00
zhongsp
69a408b08a
Update webpack.config.js. PR502
2017-03-17 08:42:34 +08:00
zhongsp
86375edc1f
Update Angular 2 import. PR524
2017-03-09 08:42:23 +08:00
zhongsp
9a238001b0
Typo TypeScript 2.1.md. PR516
2017-03-09 08:41:19 +08:00
zhongsp
1ee97e3194
Update JSX.md for TS 2.2. PR519
2017-03-03 15:00:30 +08:00
zhongsp
151b284376
Update the links to SystemJS’ baseUrl
and path
. PR523
2017-03-01 10:38:15 +08:00
zhongsp
1126eab498
Fix object type statement. PR521
2017-03-01 10:36:31 +08:00
zhongsp
cdc3b3757a
Fix typos in examples of path mapping . PR506
2017-02-17 13:35:41 +08:00
zhongsp
40bd109398
Fix npm option for saving package in package.json for Migrating from JavaScript.md . PR503
2017-02-17 13:33:55 +08:00
zhongsp
63ca5d027a
update generic extends example. PR489
2017-02-16 09:11:12 +08:00
zhongsp
adff7c43fd
Remove wrong sentence in Index Types section. PR499
2017-02-16 09:06:34 +08:00
zhongsp
512005498c
Add missing assignment in Index Types example. PR498
2017-02-09 08:53:01 +08:00
zhongsp
858544fa91
Fix typo on unions section. PR501
2017-02-09 08:51:29 +08:00
zhongsp
b4fcacb4ab
Update MSBuild options on newer compiler option. PR494
2017-02-09 08:50:12 +08:00
zhongsp
44b81fb63d
add warning about behavior of "include" option. PR497
2017-02-09 08:45:33 +08:00
小乔布斯
32c6f35d66
Added what's new in TypeScript 2.2 section ( #163 )
2017-02-07 08:49:52 +08:00
Patrick Zhong
8f874e8833
Advanced types ( #161 )
...
index types, indexed access types and mapped types. closed #150 . closed #156 .
2017-01-30 12:52:46 +08:00
zhongsp
89d3a07b02
Added table of contents. PR319
2017-01-27 08:20:22 +08:00
Patrick Zhong
98c0a4a1e8
add /root to example path. PR491
2017-01-26 08:34:38 +08:00
Patrick Zhong
3a57aa3588
Change type declaration. PR486
2017-01-26 08:31:20 +08:00
zhongsp
538be671a2
[non-]nullable types. closed #151
2017-01-15 17:36:36 +08:00
zhongsp
64849de332
fix code
2017-01-15 16:52:31 +08:00
小乔布斯
0f0021d46d
Delete has translated English statement. ( #159 )
2017-01-14 13:54:18 +08:00
wen
eb7467c85b
target default ES3 ( #158 )
2017-01-11 12:28:25 +08:00
zhongsp
cf1ef0c7ee
Fix typo. #157
2017-01-08 11:46:44 +08:00
Patrick Zhong
8860fa3aac
Fix hyperlink to 1.8 release notes. PR478
2017-01-07 18:30:11 +08:00
Patrick Zhong
244912ea91
Fix mismatch in description of discriminated unions. PR469
2017-01-06 08:54:09 +08:00
Patrick Zhong
d936dc2bdb
Fixed variable declaration in namespaces.md. PR477
2017-01-06 08:52:04 +08:00
zhongsp
c2084d4c2a
Fix incorrect language of codeblock in namespaces, PR470. Sync namespaces.
2017-01-05 10:02:12 +08:00
zhongsp
7afa7ee6fa
change Typescript to TypeScript
2017-01-05 09:51:49 +08:00
Patrick Zhong
dfa9f41ffc
Update Interfaces.md PR460
2016-12-27 08:47:32 +08:00
Patrick Zhong
9d6e2b2955
Update 'include' in React guide. PR466
2016-12-27 08:45:15 +08:00
Patrick Zhong
f1c6120207
limit files to just the src directory. PR465
2016-12-27 08:44:19 +08:00
zhongsp
516b6a408a
Mention there are currently 2 webpack loaders for typescript and link. PR 451
2016-12-26 10:53:55 +08:00
小乔布斯
230414588b
update section:TypeScript 2.1 from What's new in TypeScript ( #155 )
...
What's new in TypeScript: TypeScript 2.1
2016-12-26 10:29:38 +08:00
Patrick Zhong
6a4de79530
Fix two small errors in React + Webpack tutorial. PR456
2016-12-22 14:22:12 +08:00
chenglong
f2ad5fccee
typo
...
typesRoots -> typeRoots
2016-12-19 16:37:50 +08:00
Patrick Zhong
408fd250eb
fixing #12872 , add a mistype to show the usage of optional properties. PR457
2016-12-16 08:59:27 +08:00
Patrick Zhong
2cc84c0e38
Hello
must be exported to be used in index.tsx
. PR447
2016-12-16 08:57:26 +08:00
Patrick Zhong
5525fb7a1b
Removed typo square bracket. PR448
2016-12-16 08:56:08 +08:00
Patrick Zhong
36f523f366
Fix typo in variable reference. PR454
2016-12-16 08:52:36 +08:00
家俊
b54c920ef1
fix react stateless component error ( #153 )
2016-12-15 17:24:34 +08:00
zhongsp
2076890f08
Add breaking change link to release-notes. PR452
2016-12-10 18:36:24 +08:00
zhongsp
184620b1cb
fix translation
2016-12-10 07:41:20 +08:00
Patrick Zhong
f71d1646fe
Update README.md
2016-12-04 08:36:41 +08:00
zhongsp
6386d02deb
fix broken link. fixed #147
2016-12-01 12:50:24 +08:00
Patrick Zhong
2079551786
Minor typo. PR442.
2016-11-29 10:10:38 +08:00
freezestudio
606c677d9f
Update Compiler Options.md ( #146 )
2016-11-28 09:10:09 +08:00
zhongsp
c17b68bd7b
Add documentation for triple-slash-reference-types directives. PR439
2016-11-27 08:53:31 +08:00
zhongsp
0dbcc3da08
Use 'awesome-typescript-loader', use SFCs. PR415
2016-11-25 11:33:46 +08:00
zhongsp
153b38de64
Update compiler options for TS 2.1. PR438
2016-11-24 10:11:41 +08:00
zhongsp
dae8970d89
improve translation
2016-11-23 13:39:55 +08:00
zhongsp
c04555e70a
Add object rest/spread. PR437
2016-11-23 09:20:24 +08:00
Patrick Zhong
b7bdd1c4ce
Invoke origin setter in Decorators.md. PR436.
2016-11-22 08:48:41 +08:00
zhongsp
9a9ed98f72
fix typo
2016-11-20 14:00:53 +08:00
zhongsp
26a0f23b4d
sync docs
2016-11-18 12:19:29 +08:00
zhongsp
ce113377f1
sync Compiler Options in MSBuild.md
2016-11-17 09:28:14 +08:00
小乔布斯
61d77d5bab
Add What's new in TypeScript 2.1 ( #144 )
...
* Add What's new in TypeScript 2.1
* Fix an error in What's new in TypeScript 2.0
2016-11-16 08:52:00 +08:00
zhongsp
642c23a7cf
improve translation
2016-11-15 17:44:21 +08:00
zhuscat
4a90a499d3
improve translation
2016-11-15 17:42:41 +08:00
zhongsp
aeb104660a
Update default value of --allowJs
and improve words.
2016-11-11 12:32:00 +08:00
zhongsp
6d25fda011
satisfy markdown lint
2016-11-11 11:28:52 +08:00
zhongsp
6b9f669dd0
improve translation
2016-11-09 15:14:13 +08:00
zhongsp
624f973f93
update module resolution. closed #124 .
2016-11-03 14:10:39 +08:00
小乔布斯
7d2dfc11f3
Add: what's new in TypeScript 2.0
2016-11-02 08:47:35 +08:00
zhongsp
a86936fb8a
breaking changes: TypeScript 1.1. closed #130
2016-10-31 16:16:50 +08:00
zhongsp
d90000bc96
breaking changes: TypeScript 1.4. closed #131 .
2016-10-28 10:00:24 +08:00
zhongsp
1c8458e323
Change </br> to <br/>. PR424
2016-10-28 09:00:03 +08:00
zhongsp
3bbfe2bad5
breaking changes: TypeScript 1.5. closed #132 .
2016-10-27 10:37:12 +08:00
zhongsp
f8073a9124
breaking changes: TypeScript 1.6. closed #133
2016-10-26 09:29:54 +08:00
zhongsp
471e3bb6da
fix wrong link
2016-10-25 17:33:09 +08:00
zhongsp
7e1cb38ac5
breaking changes: typescript 1.7. closed #134
2016-10-25 17:00:30 +08:00
zhongsp
feb95913af
improve translation
2016-10-24 09:16:07 +08:00
zhongsp
fc995b7d4b
add breaking changes toc
2016-10-24 09:13:18 +08:00
zhongsp
5360e61d5b
fix typo
2016-10-24 09:05:19 +08:00
zhongsp
39e9a242f6
edit
2016-10-23 20:55:39 +08:00
zhongsp
6a03ebbd01
discriminated unions & discriminated unions. closed #116 . closed #138 .
2016-10-23 13:16:40 +08:00
zhongsp
f6b12957d0
review: Migrating from JavaScript. closed #126
2016-10-23 11:31:51 +08:00
Patrick Zhong
72270b360c
Update Angular 2.md. #137
2016-10-22 12:09:35 +08:00
zhongsp
3421eb714f
Clarify example code. PR421
2016-10-20 11:09:25 +08:00
zhongsp
125e4dd04b
breaking changes for TypeScript 1.8. Closed #135
2016-10-20 09:52:21 +08:00
Patrick Zhong
f32ddcaf89
fix typo
2016-10-18 13:52:40 +08:00
zhongsp
d49a01fe83
Mention module concatenation possibilities with TS1.8. PR414
2016-10-14 09:47:17 +08:00
zhongsp
fded669532
IntelliJ Mac for nightly builds. PR413
2016-10-13 10:03:20 +08:00
zhongsp
30c3fb6fdc
Mention Babel at top of Gulp tutorial. PR412
2016-10-12 09:03:53 +08:00
zhongsp
3cdb82a87b
Update Compiler Options.md. PR411
2016-10-11 09:03:03 +08:00
zhongsp
0cce1d6612
fix the example webpack configuration file. PR405
2016-10-10 09:45:20 +08:00
zhongsp
c178e9020f
Fix descriptions of --skip*LibCheck options. PR410
2016-10-10 09:40:53 +08:00
zhongsp
293fc1d4df
breaking changes of ts 2.0. #136
2016-10-08 09:14:53 +08:00
zhongsp
ac67f0c204
Fix broken links to .d.ts file. PR401
2016-10-07 14:55:50 +08:00
zhongsp
90b5c63a34
fix options in the example tsconfig.json file. PR404
2016-10-07 14:53:19 +08:00
zhongsp
6ec87d2d61
Fixing a code typo so as to match the intent. PR399
2016-10-07 14:51:42 +08:00
zhongsp
9b1155f914
Add documentation for types
and typeRoots
in tsconfig.json. PR407
2016-10-07 14:50:21 +08:00
Patrick Zhong
20afb01461
New section "Migrating from JavaScript" ( #129 )
2016-10-07 11:48:03 +08:00
mishengqiang
8f6970bbb0
修改声明文件-解构的文档
2016-10-06 23:12:40 +08:00
mishengqiang
194d1ac98e
补充声明文件文档-举例文档未翻译的部分
2016-10-06 23:12:02 +08:00
mishengqiang
782be8370c
修改声明文件文档的标题
2016-10-06 23:09:53 +08:00
zhongsp
da2ef89502
Use @types for Tutorials. PR388
2016-09-28 09:51:30 +08:00
zhongsp
a8d1f990b7
Update Gulp.md. PR394
2016-09-27 10:28:36 +08:00
zhongsp
4194306e3b
review Classes.md. closed #123
2016-09-26 15:48:46 +08:00
zhongsp
c0aa2b2a63
Add documentation for the never
type
2016-09-26 15:08:01 +08:00
zhongsp
d9a309bec9
Rearage templates. PR386
2016-09-22 10:44:58 +08:00
Patrick Zhong
afc9d47749
Fix extra comma in sample tsconfigs.json
2016-09-22 10:28:11 +08:00