Commit Graph

677 Commits

Author SHA1 Message Date
zhongsp
8bfb080f80 Add section about type guards inferred from in operator. PR1036 2019-08-23 11:18:03 +08:00
ytyu1024
7567d964e8 Update release-note TypeScript 2.7 2019-08-10 11:21:23 +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
zhongsp
e39685f2fd add the JQuery.d.ts link PR1055 2019-07-05 20:26:57 +08:00
zhongsp
7d8c984c25 replace hard-coded secret worst-practice in class accessor example. PR1024 2019-07-03 07:30:17 +08:00
zhongsp
4759c7c193 [doc] typo in Declaration Merging. PR1043 2019-07-03 07:12:46 +08:00
zhongsp
6afc7440f7 Fix documentation on --strictNullChecks. PR1053 2019-07-03 07:04:25 +08:00
Patrick Zhong
ef23b1c905
Update README.md 2019-06-16 07:25:55 +08:00
zhongsp
eef7e43223 Clarifies Mapped Types and additional members. PR556 2019-06-11 19:43:59 +08:00
zhongsp
f8125da2fa Updated Functions.md, clarify 'this' in arrow function. PR943 2019-06-01 20:31:00 +08:00
zhongsp
e1da09b4fb Edited wording of a sentence Gulp tutorial doc. PR950 2019-06-01 20:29:48 +08:00
zhongsp
c39f1cf77d Removed awkward phrase. PR948 2019-06-01 20:27:24 +08:00
zhongsp
8cdc9ffd4d Some typo fixes and styling. PR932 2019-06-01 20:19:44 +08:00
zhongsp
efe371473e Fix transposed JS @typedef declaration. PR927 2019-06-01 20:18:04 +08:00
zhongsp
e460280ac1 Fix word wrap for tsc -bexample. PR926 2019-06-01 20:16:45 +08:00
zhongsp
0467b01078 Update Gulp.md to downgrade Babelify from latest(10.x) to 8.x. PR921 2019-06-01 20:14:05 +08:00
zhongsp
4cebdef2e3 Avoid confusing with the built-in Map class. PR917 2019-06-01 19:55:36 +08:00
zhongsp
286bf18097 Remove statement about how files with a single named export are a red flag. PR916 2019-06-01 19:54:04 +08:00
zhongsp
d55d975f2d Document inability to augment default exports. PR913 2019-06-01 19:51:57 +08:00
zhongsp
99d33c596d Corrected typo. PR912 2019-06-01 19:42:18 +08:00
zhongsp
1eed25898c Use const for symbol when indexing. PR911 2019-06-01 19:40:01 +08:00
zhongsp
f7d6b38f07 IntelliJ Windows for nightly builds. PR908 2019-06-01 19:38:32 +08:00
zhongsp
c25f0537d6 Update incorrect note about react JSX emit PR907 2019-04-14 09:03:08 +08:00
zhongsp
bc8f9dd390 Fix Typescript blockquote PR906 2019-04-14 08:56:21 +08:00
zhongsp
af8041a351 Add a link to prior explanation of let PR899 2019-04-14 08:52:45 +08:00
zhongsp
c79a153560 Update code samples to compile with stricter rules PR896 2019-04-14 08:49:49 +08:00
zhongsp
0c8892d11d Writing proposed wordings PR893 2019-04-14 08:47:03 +08:00
zhongsp
2013ccf376 Includes missing link for output file order. PR892 2019-04-14 08:40:03 +08:00
zhongsp
5f15ea1e25 Documented --composite option。 PR858 2019-03-24 10:15:56 +08:00
zhongsp
6b0e7779bd Fix spelling, grammar, typos in CONTRIBUTING, Basic Types, Functions, Interfaces. PR863 2019-03-24 10:10:41 +08:00
zhongsp
8db37da8f6 add necessary curly brackets inside JSX element. PR855 2019-03-24 10:05:57 +08:00
zhongsp
284ba5c039 Removed --stripInternal from documentation. PR856 2019-03-24 10:04:53 +08:00
zhongsp
9feb6b9186 Added exception to excess property check workaround. PR857 2019-03-24 10:04:07 +08:00
zhongsp
a9a445771e sastify markdownlint 2019-03-24 09:58:48 +08:00
zhongsp
a30cd42970 Add Babel 7 configuration. PR826 2019-03-24 09:58:23 +08:00
zhongsp
0ed231480c Avoid unnecessary any casts in advanced types. PR847 2019-03-24 09:55:46 +08:00
zhongsp
772b4953c1 Fix indentation in Enums.md. PR849 2019-03-24 09:53:06 +08:00
zhongsp
eb248a6b54 Fix bad links on Compiler Options.md. PR837 2019-03-24 09:47:41 +08:00
zhongsp
e375a563c5 Fix a mistake in "Type Checking JavaScript Files". PR836 2019-03-24 09:42:13 +08:00
zhongsp
7eb096143c docs: correct decorator reflect-metadata example. PR832 2019-03-24 09:41:11 +08:00
zhongsp
d377cd6a11 Fix 822: Advanced Types - any should be never. PR823 2019-03-24 09:39:36 +08:00