Redraw TypeScript roadmap using our editor

pull/6288/head
Kamran Ahmed 4 months ago
parent 5ccdece429
commit a1037d1db2
  1. 26
      src/data/roadmaps/typescript/content/101-typescript-types/115-type-assertions/index.md
  2. 0
      src/data/roadmaps/typescript/content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md
  3. 0
      src/data/roadmaps/typescript/content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md
  4. 0
      src/data/roadmaps/typescript/content/advanced-types@2F7vOL__v9dLBohA263aj.md
  5. 0
      src/data/roadmaps/typescript/content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md
  6. 0
      src/data/roadmaps/typescript/content/any@yXiLegSlL7SveU8rBGj8U.md
  7. 0
      src/data/roadmaps/typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md
  8. 0
      src/data/roadmaps/typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md
  9. 0
      src/data/roadmaps/typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md
  10. 0
      src/data/roadmaps/typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md
  11. 0
      src/data/roadmaps/typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md
  12. 0
      src/data/roadmaps/typescript/content/boolean@hfIHxa5i_5rEpjtzqEsic.md
  13. 0
      src/data/roadmaps/typescript/content/build-tools@I5uwfej5XMwR2N2gpBILh.md
  14. 0
      src/data/roadmaps/typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md
  15. 0
      src/data/roadmaps/typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md
  16. 0
      src/data/roadmaps/typescript/content/combining-types@qefnsugcveizVq2TORRgn.md
  17. 0
      src/data/roadmaps/typescript/content/compilre-options@RrExVb7l2gd0s_TlNdLeD.md
  18. 0
      src/data/roadmaps/typescript/content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md
  19. 0
      src/data/roadmaps/typescript/content/constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md
  20. 0
      src/data/roadmaps/typescript/content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md
  21. 0
      src/data/roadmaps/typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md
  22. 0
      src/data/roadmaps/typescript/content/ecosystem@RqZaWGxxNRItBhVwWKysc.md
  23. 0
      src/data/roadmaps/typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md
  24. 0
      src/data/roadmaps/typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md
  25. 0
      src/data/roadmaps/typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md
  26. 0
      src/data/roadmaps/typescript/content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md
  27. 0
      src/data/roadmaps/typescript/content/external-modules@egQWk1n3p8Pep83yIwCtI.md
  28. 0
      src/data/roadmaps/typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md
  29. 0
      src/data/roadmaps/typescript/content/formatting@fU8Vnw1DobM4iXl1Tq6EK.md
  30. 0
      src/data/roadmaps/typescript/content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md
  31. 0
      src/data/roadmaps/typescript/content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md
  32. 0
      src/data/roadmaps/typescript/content/generic-types@T2-VAVfntouJOoWHpHZ3n.md
  33. 0
      src/data/roadmaps/typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md
  34. 0
      src/data/roadmaps/typescript/content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md
  35. 0
      src/data/roadmaps/typescript/content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md
  36. 0
      src/data/roadmaps/typescript/content/inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md
  37. 0
      src/data/roadmaps/typescript/content/installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md
  38. 0
      src/data/roadmaps/typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md
  39. 0
      src/data/roadmaps/typescript/content/instancetype@izGAjNtrh3BzQt3KiZX0W.md
  40. 0
      src/data/roadmaps/typescript/content/interface-declaration@fY40W8prpgiNqRL50w7ub.md
  41. 0
      src/data/roadmaps/typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md
  42. 0
      src/data/roadmaps/typescript/content/intersection-types@RWYXEZMODUrqwRWf_Lqi9.md
  43. 0
      src/data/roadmaps/typescript/content/introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md
  44. 0
      src/data/roadmaps/typescript/content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md
  45. 0
      src/data/roadmaps/typescript/content/linting@8PcAPOrKisKRYPWamz4nV.md
  46. 0
      src/data/roadmaps/typescript/content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md
  47. 0
      src/data/roadmaps/typescript/content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md
  48. 0
      src/data/roadmaps/typescript/content/method-overriding@aknqutxN2WDQ4RFcT-szM.md
  49. 0
      src/data/roadmaps/typescript/content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md
  50. 0
      src/data/roadmaps/typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md
  51. 0
      src/data/roadmaps/typescript/content/never@0pi9VTbngcAIswuu5LIYg.md
  52. 0
      src/data/roadmaps/typescript/content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md
  53. 0
      src/data/roadmaps/typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md
  54. 0
      src/data/roadmaps/typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md
  55. 0
      src/data/roadmaps/typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md
  56. 0
      src/data/roadmaps/typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md
  57. 0
      src/data/roadmaps/typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md
  58. 0
      src/data/roadmaps/typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md
  59. 0
      src/data/roadmaps/typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md
  60. 0
      src/data/roadmaps/typescript/content/pick@E88tHQvARkHURZwGaO02l.md
  61. 0
      src/data/roadmaps/typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md
  62. 0
      src/data/roadmaps/typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md
  63. 0
      src/data/roadmaps/typescript/content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md
  64. 0
      src/data/roadmaps/typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md
  65. 0
      src/data/roadmaps/typescript/content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md
  66. 0
      src/data/roadmaps/typescript/content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md
  67. 0
      src/data/roadmaps/typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md
  68. 0
      src/data/roadmaps/typescript/content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md
  69. 0
      src/data/roadmaps/typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md
  70. 0
      src/data/roadmaps/typescript/content/ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md
  71. 0
      src/data/roadmaps/typescript/content/ts-node@ZCM2_X4BiKh5FTCizrr-E.md
  72. 0
      src/data/roadmaps/typescript/content/ts-playground@_bZ71i36haWgHQTY0yMOx.md
  73. 0
      src/data/roadmaps/typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md
  74. 0
      src/data/roadmaps/typescript/content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md
  75. 0
      src/data/roadmaps/typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md
  76. 0
      src/data/roadmaps/typescript/content/type-aliases@M_3O21zjppgWptIT5dtu8.md
  77. 0
      src/data/roadmaps/typescript/content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md
  78. 0
      src/data/roadmaps/typescript/content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md
  79. 0
      src/data/roadmaps/typescript/content/type-inference@KUur-gfOBQodTS-irFet7.md
  80. 0
      src/data/roadmaps/typescript/content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md
  81. 0
      src/data/roadmaps/typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md
  82. 0
      src/data/roadmaps/typescript/content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md
  83. 0
      src/data/roadmaps/typescript/content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md
  84. 0
      src/data/roadmaps/typescript/content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md
  85. 0
      src/data/roadmaps/typescript/content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md
  86. 0
      src/data/roadmaps/typescript/content/typescript-types@qcrGApxNzkGYxgcd7o45d.md
  87. 0
      src/data/roadmaps/typescript/content/typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md
  88. 0
      src/data/roadmaps/typescript/content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md
  89. 0
      src/data/roadmaps/typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md
  90. 0
      src/data/roadmaps/typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md
  91. 0
      src/data/roadmaps/typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md
  92. 0
      src/data/roadmaps/typescript/content/useful-packages@PCX3KcvMUW3mmQEepLTXp.md
  93. 0
      src/data/roadmaps/typescript/content/utility-types@LSwUHfalnk5MgHt21PANb.md
  94. 0
      src/data/roadmaps/typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md
  95. 95
      src/data/roadmaps/typescript/migration-mapping.json
  96. 11667
      src/data/roadmaps/typescript/typescript.json
  97. 3
      src/data/roadmaps/typescript/typescript.md
  98. 1
      src/lib/resource-progress.ts

@ -1,26 +0,0 @@
# Type Assertions
Type assertions in TypeScript are a way to tell the compiler to treat a value as a specific type, regardless of its inferred type.
There are two syntaxes for type assertions in TypeScript:
- The "angle-bracket" syntax: `<T>value`
- The "as" syntax: value as `T`
For example:
```typescript
let num = 42;
// using angle-bracket syntax
let str = <string>num;
// using as syntax
let str2 = num as string;
```
In both examples, `num` is a number, but the type assertions tell the compiler to treat the value as a string.
Learn more from the following links:
- [@article@Type Assertions](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions)

@ -0,0 +1,95 @@
{
"typescript": "KDd40JOAvZ8O1mfhTYB3K",
"typescript:typescript-vs-javascript": "MQWzN_kXxVJMOYbRXSGJc",
"typescript:ts-js-interoperability": "dcLaEU_lb0z_QypL1ZhpX",
"typescript:install-configure": "dA8CNQOgJRDa0T7rmyS7f",
"typescript:install-configure:tsconfig-json": "DmqrX56d9KnBcOSwlJR2q",
"typescript:install-configure:compiler-options": "RrExVb7l2gd0s_TlNdLeD",
"typescript:running-typescript": "qdy4ZIY2EKgmPNdu_ndcg",
"typescript:running-typescript:tsc": "Iv_t13PSVzet5VPKFtAp1",
"typescript:running-typescript:ts-node": "ZCM2_X4BiKh5FTCizrr-E",
"typescript:running-typescript:ts-playground": "_bZ71i36haWgHQTY0yMOx",
"typescript-types": "qcrGApxNzkGYxgcd7o45d",
"typescript-types:type-assertions:as-const": "pGFnTqi0-RSj0YRmNA5iy",
"typescript-types:type-assertions:as-type": "Ba0baUbomrW9td_K8U-5L",
"typescript-types:type-assertions:as-any": "afTNr36VqeXoJpHxm2IoS",
"typescript-types:type-assertions:non-null-assertion": "mjaL5ocLnM8VQlhUxW6KU",
"typescript-types:satisfies-keyword": "HD1UGOidp7JGKdW6CEdQ_",
"typescript-types:boolean": "hfIHxa5i_5rEpjtzqEsic",
"typescript-types:number": "UH9d3cvGy_e67WFNFwCyf",
"typescript-types:string": "d8iV-IBZ6cSnH8Z5_HRmc",
"typescript-types:void": "yLlQg7BF--ZwRHbXBWfOi",
"typescript-types:undefined": "Sa6IZtM4XJstultz-pbh0",
"typescript-types:null": "cjAwawhZLo1qVQ93XIdm2",
"typescript-types:interface": "mVKsM7R4Ivpdhnbwt1aRb",
"typescript-types:class": "tTSITP1W1ymS-njbFb8Ts",
"typescript-types:enum": "bfZIXHceDKDGQl-24kQpT",
"typescript-types:array": "YbDuIo1BbZKEAZwmXlCdZ",
"typescript-types:tuple": "jq-GD0DLyzrEXQKUmt5kv",
"typescript-types:any": "yXiLegSlL7SveU8rBGj8U",
"typescript-types:object": "vnqvm_WiaKqpdxrW4wRGa",
"typescript-types:unknown": "O2TYbd9i_OQwQk2dKh-ly",
"typescript-types:never": "0pi9VTbngcAIswuu5LIYg",
"type-inference": "KUur-gfOBQodTS-irFet7",
"type-compatibility": "alMJCEyUZ90xz-2_g3YRj",
"combining-types": "qefnsugcveizVq2TORRgn",
"combining-types:union-types": "5z5w3yv1HbOpMlzEd4Iot",
"combining-types:intersection-types": "RWYXEZMODUrqwRWf_Lqi9",
"combining-types:type-aliases": "M_3O21zjppgWptIT5dtu8",
"combining-types:keyof-operator": "t1Tcesfq7bV2TkHcfD6lU",
"type-guards": "cFZsxpYHDxm7IWwergb3r",
"type-guards:instanceof-operator": "EDOU5a7UK17yp3PdFBJMc",
"type-guards:typeof-operator": "ZiOcFZy85p7tLzUkyKDei",
"type-guards:equality": "Wy2yIK5vgLjEcc9VjuQK5",
"type-guards:truthiness": "Xonbxc7MvMEonKBvbkCAH",
"type-guards:type-predicates": "1DOSAieOmWUNNsQQrqf2m",
"functions": "qOynVkDi1gFz0mxyJHjfJ",
"functions:typing-functions": "9FIhHwDNzyKpb42NmSv3K",
"functions:function-overloading": "-0Zp6b8NjDyz9MAQE3HfS",
"interfaces": "aH1DxiG5xrdNlKutJ_gTz",
"interfaces:types-vs-interfaces": "TxkEpoOiuUm-fXJuFVKcH",
"interfaces:extending-interfaces": "O-9WQqidujLIEOTcOfy4n",
"interfaces:interface-declaration": "fY40W8prpgiNqRL50w7ub",
"interfaces:hybrid-types": "lvtTSHH9yBTCiLng8btnI",
"classes": "ib0jfZzukYOZ42AdJqt_W",
"classes:constructor-params": "3XrKbK5Od2eoM0BLaS4kU",
"classes:constructor-overloading": "oxzcYXxy2I7GI7nbvFYVa",
"classes:access-modifiers": "RJ7on8WoxrKcXrR3qY5Rs",
"classes:abstract-classes": "tZFWeWHdOUJcCEtHfXH9p",
"classes:inheritance-vs-polymorphism": "8P0-vb9nlnmz7iC4UvyJZ",
"classes:method-overriding": "aknqutxN2WDQ4RFcT-szM",
"generics": "4gaKqNtGLFqpk9WVKZl0v",
"generics:generic-types": "T2-VAVfntouJOoWHpHZ3n",
"generics:generic-constraints": "0NXHAOUYGIwuPwlN7r_B3",
"decorators": "TRx3wvWnRdJJf5eL-GBG4",
"utility-types": "LSwUHfalnk5MgHt21PANb",
"utility-types:partial": "gBTem9Dp3IQLAkqGX4fOF",
"utility-types:pick": "E88tHQvARkHURZwGaO02l",
"utility-types:omit": "yjlxygHl8QONNUrdx-Q0A",
"utility-types:readonly": "IuO9-O_DQdDYuAbdGWdgb",
"utility-types:record": "DRdBmF5Dt_r09LoPOxOuq",
"utility-types:exclude": "0fvOXi9gJbEc7etqTggNE",
"utility-types:extract": "IIAbAzXiVQm1JEi2MTMZN",
"utility-types:non-nullable": "_BAZlBEzE7ddr315OeHvl",
"utility-types:parameters": "a7hl0iMZ-jcUACxqIYVqv",
"utility-types:return-type": "On75JR_UkiIlha0_qaSeu",
"utility-types:instance-type": "izGAjNtrh3BzQt3KiZX0W",
"utility-types:awaited": "aEhI_9mFWXRIZh1ZxTuzu",
"advanced-types": "2F7vOL__v9dLBohA263aj",
"advanced-types:mapped-types": "VQ-V9qIdKgnpSJg2UnpuB",
"advanced-types:conditional-types": "ubGIhi-WLE0EopTYXzmPL",
"advanced-types:literal-types": "CWzGwvl6NwYCaLYSLIjqQ",
"advanced-types:template-literal-types": "xP25nGw42VqdfZ_9pDMXd",
"advanced-types:recursive-types": "N8xBTJ74xv1E5hSLYZtze",
"modules": "sE9lqkkqwnsVJxTJv37YZ",
"modules:namespaces": "EtVwQ4lnWi3IIFHGb2Qib",
"modules:ambient-modules": "k_5y77k8ZZ9_O2WpWXWTY",
"modules:external-modules": "egQWk1n3p8Pep83yIwCtI",
"modules:namespace-augmentation": "16TT8R4N-9tCfWmPetqMP",
"modules:global-augmentation": "JQwWeB1gkANSYfQmH69Bs",
"ecosystem": "RqZaWGxxNRItBhVwWKysc",
"ecosystem:formatting": "fU8Vnw1DobM4iXl1Tq6EK",
"ecosystem:linting": "8PcAPOrKisKRYPWamz4nV",
"ecosystem:useful-packages": "PCX3KcvMUW3mmQEepLTXp",
"ecosystem:build-tools": "I5uwfej5XMwR2N2gpBILh"
}

File diff suppressed because it is too large Load Diff

@ -2,6 +2,7 @@
jsonUrl: '/jsons/roadmaps/typescript.json' jsonUrl: '/jsons/roadmaps/typescript.json'
pdfUrl: '/pdfs/roadmaps/typescript.pdf' pdfUrl: '/pdfs/roadmaps/typescript.pdf'
order: 6 order: 6
renderer: 'editor'
briefTitle: 'TypeScript' briefTitle: 'TypeScript'
briefDescription: 'Everything you need to learn about TypeScript in 2024' briefDescription: 'Everything you need to learn about TypeScript in 2024'
title: 'TypeScript' title: 'TypeScript'
@ -10,7 +11,7 @@ hasTopics: true
isNew: false isNew: false
dimensions: dimensions:
width: 968 width: 968
height: 1884.38 height: 2050
schema: schema:
headline: 'TypeScript Roadmap' headline: 'TypeScript Roadmap'
description: 'Learn everything about TypeScript with this interactive step by step guide in 2024. We also have resources and short descriptions attached to the roadmap items so you can get everything you want to learn in one place.' description: 'Learn everything about TypeScript with this interactive step by step guide in 2024. We also have resources and short descriptions attached to the roadmap items so you can get everything you want to learn in one place.'

@ -109,6 +109,7 @@ export function clearMigratedRoadmapProgress(
'javascript', 'javascript',
'angular', 'angular',
'nodejs', 'nodejs',
'typescript',
]; ];
if (!migratedRoadmaps.includes(resourceId)) { if (!migratedRoadmaps.includes(resourceId)) {

Loading…
Cancel
Save