You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/middle-1/typescript.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,20 @@
22
22
* Почему передача литерала объекта не напрямую в функцию, а через промежуточное присваивание переменной, увеличивает вероятность ошибки в программе?
23
23
* Что такое Refinement? Как он работает в контексте Discriminated Unions?
24
24
* Что такое вывод типов (относительно любого языка)? В каких случаях TS может выводить типы для генериков? В каких случаях TS автоматически выводит переменную типа как any?
25
-
* Какие виды полиморфизма поддерживает TS и как с этим работать?
25
+
* Рассказать про следующие виды полиморфизма, и как с ними работать в TS:
26
+
* Parametric
27
+
* Ad-hoc
28
+
* Subtype
29
+
* F-bounded
30
+
* Row
26
31
27
32
### Ресурсы
28
33
29
34
*[What is Type Soundness?](http://jschuster.org/blog/2017/03/21/what-is-type-soundness/)
30
35
*[Is there a difference between type safety and type soundness?](https://cs.stackexchange.com/questions/82155/is-there-a-difference-between-type-safety-and-type-soundness)
31
36
*[How can a statically typed language support duck typing?](https://softwareengineering.stackexchange.com/questions/252984/how-can-a-statically-typed-language-support-duck-typing)
32
37
*[Flavoring: Flexible Nominal Typing for TypeScript](https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/)
0 commit comments