Commit Graph

569 Commits

Author SHA1 Message Date
zhongsp
521cfd9d1d Fix Basic Types' table of contents and add object type usage note. PR1123 2019-10-20 09:46:01 +08:00
zhongsp
4c5dcd1297 Fix typo in JSX Class Component PR1117 2019-10-14 12:45:53 +08:00
zhongsp
ef67cd801a fix: update let section. PR1115 2019-10-14 12:43:50 +08:00
zhongsp
f81751f3a7 Add --generateCpuProfile compiler option. 2019-09-28 09:00:30 +08:00
zhongsp
94afd7b71a Update docs for --isolatedModules flag PR1110 2019-09-21 16:28:55 +08:00
zhongsp
56ac9094aa fix typo 2019-09-21 16:24:57 +08:00
zhongsp
f52e6f418a Adds a note about strictFunctionTypes to type compatibility PR1103 2019-09-21 16:24:17 +08:00
zhongsp
7142fb182e Fix mismatch between props used in code snippet PR1098 2019-09-21 16:21:12 +08:00
zhongsp
2c5c085138 Watchify: log compilation errors PR1100 2019-09-21 16:18:30 +08:00
zhongsp
cd4e8cec61 typo found in Gulp.md PR1101 2019-09-21 16:17:54 +08:00
zhongsp
2e8c34b77b Emphasize that void accepts null unless strictNullChecks PR1096 2019-09-21 16:17:07 +08:00
zhongsp
e72711d85d Simpler pattern for Mixins PR1033 2019-09-21 16:15:02 +08:00
zhongsp
e344530ee4 Update errors in comments, display actual errors. PR1092 2019-09-21 16:00:49 +08:00
zhongsp
8b6d2fdd5e Remove a comment about union types in tuple doc PR1087 2019-09-21 15:57:21 +08:00
zhongsp
8a502e5a1f Add missing targets in Compiler options PR1086 2019-09-21 15:54:43 +08:00
zhongsp
563eaeb6c8 remove unnecessary space from modules handbook document PR1083 2019-09-21 15:51:59 +08:00
zhongsp
529ba750c5 Removes a link out to the wiki in the JS page PR1081 2019-09-21 15:51:02 +08:00
zhongsp
f585535bfc Complete the index signature doc. PR1079 2019-09-21 15:46:30 +08:00
zhongsp
97f3890280 Fix Index types and string index signatures section PR1073 2019-09-21 15:42:18 +08:00
zhongsp
50901ca411 fix: typo in jsdoc @template example PR1071 2019-09-21 15:38:01 +08:00
zhongsp
940b510ec8 Fixed typo of @typedef example. PR1070 2019-09-19 19:20:05 +08:00
zhongsp
1447c2f3c3 update interface vs type aliases docs, to include features supported … PR1057 2019-09-19 19:09:06 +08:00
zhongsp
e10bd84d21 Quotes used consistently in gulp tutorial. PR979 2019-09-17 20:40:15 +08:00
zhongsp
f1cbc64b1a Use textContent instead of innerHTML in the 5-min example. PR986 2019-09-17 20:36:35 +08:00
zhongsp
ea67fd0323 Replace deprecated type SFC with FunctionComponent PR988 2019-09-17 20:32:50 +08:00
zhongsp
b3bcdebdb7 Add the recommendation not to use the Symbol wrapper object type PR1001 2019-09-17 20:06:41 +08:00
zhongsp
cf5868dec6 Clarify module loaders in Modules.md's Introduction PR1003 2019-09-17 20:04:29 +08:00
zhongsp
871569d560 Update Declaration Merging.md PR1013 2019-09-17 19:56:19 +08:00
zhongsp
d18ed8c4c3 Fix error message when passing an object literal PR1010 2019-09-17 19:51:11 +08:00
zhongsp
0ace0db279 Correct compiler flag name PR1015 2019-09-17 19:50:11 +08:00
zhongsp
cbd801b744 explain tuple destructuring PR1018 2019-09-17 19:49:14 +08:00
zhongsp
f222763590 Clarify documentation on Index Types. PR1021, PR1107 2019-09-17 19:35:08 +08:00
Patrick Zhong
4d00801383
release notes 3.3 (#252) 2019-08-28 15:44:27 +08:00
zhongsp
adaa851a7f typo: fix the first letter of jQuery. PR1040 2019-08-23 12:08:36 +08:00
zhongsp
cfec905251 clarify explanation of index signatures with union types. PR1019 2019-08-23 12:07:41 +08:00
zhongsp
7107930a43 "Variable Declarations.md" uses "?" before it is defined in "Functions.md". PR1029 2019-08-23 12:04:01 +08:00
zhongsp
dc050ffcb0 Clarify intent of --mapRoot. PR1028 2019-08-23 12:00:26 +08:00
zhongsp
e8b304514c Update tuple docs to match post-2.7 behaviour. PR1030 2019-08-23 11:56:50 +08:00
zhongsp
6f7c425c02 fix format 2019-08-23 11:21:34 +08:00
zhongsp
8bfb080f80 Add section about type guards inferred from in operator. PR1036 2019-08-23 11:18:03 +08:00
zhongsp
b33d61440c Update Modules.md pr1072 2019-07-23 20:23:09 +08:00
zhongsp
211dcb504b Changed explanation for 'reference types' directive pr980 2019-07-10 13:37:17 +08:00
zhongsp
890f990ed2 substr to substring pr982 2019-07-10 13:34:29 +08:00
zhongsp
a88ad1ba90 Add Omit<T,K> which was introduced in TypeScript 3.5 pr1065 2019-07-10 13:29:28 +08:00
zhongsp
cd1ab992b2 don't be redundant & redundant pr1067 2019-07-10 13:22:28 +08:00
zhongsp
5a069b8773 Add enum example using keyof typeof pr963 2019-07-08 07:26:56 +08:00
zhongsp
f59b26bb80 fix md lint 2019-07-07 09:03:29 +08:00
zhongsp
2dd291d42d Update assertion syntax in code examples pr967 2019-07-07 09:00:46 +08:00
zhongsp
a933e369cd Fix unencoded spaces in links pr969 2019-07-07 08:55:35 +08:00
zhongsp
9a98ce12d3 Fix the React & Webpack tutorial PR765 2019-07-07 08:46:09 +08:00