File tree Expand file tree Collapse file tree 4 files changed +43
-5
lines changed
Expand file tree Collapse file tree 4 files changed +43
-5
lines changed Original file line number Diff line number Diff line change 1- # 1.0.0 (2020-08-23 )
1+ # 1.0.0 (2020-08-29 )
22
33
44### Bug Fixes
55
66* add deploy folder, remove useless file with deploy.yml ([ ae47a15] ( https://github.com/Rain120/typescript-guide/commit/ae47a15f31d84c749adeac9f4dcb8bd793860223 ) )
7- * deploy workflows error ([ eb9efce] ( https://github.com/Rain120/typescript-guide/commit/eb9efcee47d42d8cfd3eae039dc904c71e73fdf1 ) )
7+ * changelog before commit ([ 904d7cd] ( https://github.com/Rain120/typescript-guide/commit/904d7cd67335a1455aade81ae5638d0d85c16016 ) )
8+ * deploy workflows error ([ 048dbe1] ( https://github.com/Rain120/typescript-guide/commit/048dbe1c70e0f0ecb914d8f44a14629938fac157 ) )
89* deploy workflows error ([ 6aa3dae] ( https://github.com/Rain120/typescript-guide/commit/6aa3dae982f03588a9b9f69b9f31dcdb67b0d14c ) )
910* deploy workflows error ([ eeb7ab2] ( https://github.com/Rain120/typescript-guide/commit/eeb7ab2d0d7487b5a43249d0f0181083178961dd ) )
10- * deploy workflows error ([ 048dbe1 ] ( https://github.com/Rain120/typescript-guide/commit/048dbe1c70e0f0ecb914d8f44a14629938fac157 ) )
11+ * deploy workflows error ([ eb9efce ] ( https://github.com/Rain120/typescript-guide/commit/eb9efcee47d42d8cfd3eae039dc904c71e73fdf1 ) )
1112* Invalid workflow filed with deploy yml ([ 6c0d64a] ( https://github.com/Rain120/typescript-guide/commit/6c0d64a7dacbb38c8b34adcc4d74fbd56bb1e99c ) )
1213* monaco editor build bug (cannot require async component) ([ 906f6e8] ( https://github.com/Rain120/typescript-guide/commit/906f6e8379efe762d76f16381b657e4752be4dd4 ) )
1314* monaco editor show normal modal and can edit ([ da7a4c9] ( https://github.com/Rain120/typescript-guide/commit/da7a4c9316b6bf245ceccea93f3518ddaf810f80 ) )
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ module.exports = {
1616 "ci" ,
1717 "chore" ,
1818 "revert" ,
19- "config"
19+ "config" ,
20+ "wip"
2021 ]
2122 ] ,
2223 "subject-full-stop" : [ 0 , "never" ] ,
Original file line number Diff line number Diff line change 2626 "utility-types" : " Typescript 使用工具类型" ,
2727 "extends" : " extends" ,
2828 "implements" : " implements" ,
29+ "infer" : " infer" ,
2930 "tips" : " Typescript Tips" ,
3031 "faqs" : " Typescript FAQs"
31- }
32+ }
Original file line number Diff line number Diff line change 1+ ## 定义
2+
3+ ` infer ` 最早出现在此 [ PR] ( https://github.com/Microsoft/TypeScript/pull/21496 ) 中,表示在 ` extends ` 条件语句中待推断的类型变量。
4+
5+ ## 使用
6+
7+ ## 快来耍耍啊
8+
9+ ### 🌰🌰
10+
11+ <!-- 题目 -->
12+
13+ ```
14+ // template
15+ ```
16+
17+ ### 游乐场
18+
19+ <br />
20+
21+ <Editor
22+ value='// enjoy yourself'
23+ />
24+
25+ ### 参考答案
26+
27+ ``` ts
28+ // answer
29+ ```
30+
31+ ## 参考资料
32+
33+ [ infer PR: Type inference in conditional types] ( https://github.com/Microsoft/TypeScript/pull/21496 )
34+
35+ [ typescript-2-8] ( https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html )
You can’t perform that action at this time.
0 commit comments