From 47c9eb4860ae5e3b023ef8ac1017942e4a7879db Mon Sep 17 00:00:00 2001 From: Vedansh Date: Tue, 3 Sep 2024 04:49:11 +0530 Subject: [PATCH] Improve TypeScript roadmap content (#6961) * Verify Phase - 1 * Verify Phase - 2 * Phase - 3 * Final Changes in TS Roadmap --- .../content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md | 2 +- .../content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md | 2 +- .../content/advanced-types@2F7vOL__v9dLBohA263aj.md | 2 +- .../content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md | 2 +- .../typescript/content/any@yXiLegSlL7SveU8rBGj8U.md | 2 +- .../typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md | 2 +- .../typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md | 4 ++++ .../typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md | 2 +- .../typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md | 4 ++-- .../typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md | 2 +- .../typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md | 2 +- .../typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md | 2 +- .../content/combining-types@qefnsugcveizVq2TORRgn.md | 6 +++--- .../content/compiler-options@RrExVb7l2gd0s_TlNdLeD.md | 2 +- .../content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md | 2 +- .../constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md | 2 +- .../content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md | 2 +- .../typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md | 2 +- .../typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md | 2 +- .../typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md | 2 +- .../typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md | 2 +- .../content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md | 2 +- .../content/external-modules@egQWk1n3p8Pep83yIwCtI.md | 2 +- .../typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md | 2 +- .../content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md | 2 +- .../content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md | 2 +- .../content/generic-types@T2-VAVfntouJOoWHpHZ3n.md | 2 +- .../typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md | 2 +- .../content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md | 2 +- .../content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md | 4 ++++ .../inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md | 1 + .../installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md | 2 +- .../typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md | 2 +- .../content/instancetype@izGAjNtrh3BzQt3KiZX0W.md | 2 +- .../content/interface-declaration@fY40W8prpgiNqRL50w7ub.md | 2 +- .../typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md | 2 +- .../introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md | 4 ++-- .../content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md | 2 +- .../content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md | 2 +- .../content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md | 2 +- .../content/method-overriding@aknqutxN2WDQ4RFcT-szM.md | 2 +- .../content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md | 2 +- .../typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md | 6 +++--- .../typescript/content/never@0pi9VTbngcAIswuu5LIYg.md | 2 +- .../content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md | 2 +- .../typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md | 2 +- .../typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md | 2 +- .../typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md | 2 +- .../typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md | 2 +- .../typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md | 2 +- .../typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md | 2 +- .../typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md | 2 +- .../typescript/content/pick@E88tHQvARkHURZwGaO02l.md | 2 +- .../typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md | 2 +- .../typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md | 2 +- .../content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md | 4 ++++ .../typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md | 2 +- .../content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md | 2 +- .../content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md | 2 +- .../typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md | 2 +- .../content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md | 2 +- .../typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md | 2 +- .../ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md | 2 +- .../content/ts-playground@_bZ71i36haWgHQTY0yMOx.md | 2 +- .../typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md | 2 +- .../content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md | 2 +- .../typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md | 2 +- .../content/type-aliases@M_3O21zjppgWptIT5dtu8.md | 2 +- .../content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md | 2 +- .../content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md | 2 +- .../content/type-inference@KUur-gfOBQodTS-irFet7.md | 2 +- .../content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md | 2 +- .../typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md | 2 +- .../content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md | 2 +- .../content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md | 2 +- .../content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md | 2 +- .../content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md | 2 +- .../content/typescript-types@qcrGApxNzkGYxgcd7o45d.md | 2 +- .../typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md | 2 +- .../content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md | 2 +- .../typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md | 2 +- .../typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md | 2 +- .../typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md | 2 +- .../content/utility-types@LSwUHfalnk5MgHt21PANb.md | 2 +- .../typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md | 2 +- 85 files changed, 100 insertions(+), 87 deletions(-) diff --git a/src/data/roadmaps/typescript/content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md b/src/data/roadmaps/typescript/content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md index 65caf2743..7bb2f0e33 100644 --- a/src/data/roadmaps/typescript/content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md +++ b/src/data/roadmaps/typescript/content/abstract-classes@tZFWeWHdOUJcCEtHfXH9p.md @@ -20,4 +20,4 @@ class Dog extends Animal { Learn more from the following resources: -- [@article@Abstract Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html#abstract-classes-and-members) +- [@official@Abstract Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html#abstract-classes-and-members) diff --git a/src/data/roadmaps/typescript/content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md b/src/data/roadmaps/typescript/content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md index 322ac3c6f..19829345a 100644 --- a/src/data/roadmaps/typescript/content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md +++ b/src/data/roadmaps/typescript/content/access-modifiers@RJ7on8WoxrKcXrR3qY5Rs.md @@ -10,4 +10,4 @@ Access modifiers in TypeScript allow you to define the level of visibility and a Learn more from the following resources: -- [@article@TypeScript Access Modifiers](https://www.typescripttutorial.net/typescript-tutorial/typescript-access-modifiers/) +- [@official@TypeScript Access Modifiers](https://www.typescripttutorial.net/typescript-tutorial/typescript-access-modifiers/) diff --git a/src/data/roadmaps/typescript/content/advanced-types@2F7vOL__v9dLBohA263aj.md b/src/data/roadmaps/typescript/content/advanced-types@2F7vOL__v9dLBohA263aj.md index 46014b246..d8980646b 100644 --- a/src/data/roadmaps/typescript/content/advanced-types@2F7vOL__v9dLBohA263aj.md +++ b/src/data/roadmaps/typescript/content/advanced-types@2F7vOL__v9dLBohA263aj.md @@ -14,5 +14,5 @@ These advanced types allow for more complex and expressive type systems, and ena Learn more from the following links: -- [@article@Advanced Topics](https://www.typescriptlang.org/docs/handbook/type-compatibility.html#advanced-topics) +- [@official@Advanced Topics](https://www.typescriptlang.org/docs/handbook/type-compatibility.html#advanced-topics) - [@video@Tutorial of Typescript - Advanced Types](https://www.youtube.com/playlist?list=PLw5h0DiJ-9PBIgIyd2ZA1CVnJf0BLFJg2) diff --git a/src/data/roadmaps/typescript/content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md b/src/data/roadmaps/typescript/content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md index 8cc786a51..0ceb56d0d 100644 --- a/src/data/roadmaps/typescript/content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md +++ b/src/data/roadmaps/typescript/content/ambient-modules@k_5y77k8ZZ9_O2WpWXWTY.md @@ -19,4 +19,4 @@ In this example, we declare an ambient module "my-module" in the `myModule.d.ts` Learn more from the following links: -- [@article@Ambient Modules](https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules) +- [@official@Ambient Modules](https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules) diff --git a/src/data/roadmaps/typescript/content/any@yXiLegSlL7SveU8rBGj8U.md b/src/data/roadmaps/typescript/content/any@yXiLegSlL7SveU8rBGj8U.md index a304d6001..a46d0cd35 100644 --- a/src/data/roadmaps/typescript/content/any@yXiLegSlL7SveU8rBGj8U.md +++ b/src/data/roadmaps/typescript/content/any@yXiLegSlL7SveU8rBGj8U.md @@ -18,4 +18,4 @@ const n: number = obj; Learn more from the following links: -- [@article@any type in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any) +- [@official@any type in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any) diff --git a/src/data/roadmaps/typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md b/src/data/roadmaps/typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md index 9003d5fbf..caadd866a 100644 --- a/src/data/roadmaps/typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md +++ b/src/data/roadmaps/typescript/content/array@YbDuIo1BbZKEAZwmXlCdZ.md @@ -8,4 +8,4 @@ const numbers: number[] = [1, 2, 3]; Learn more from the following links: -- [@article@Arrays](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#arrays) +- [@official@Arrays](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#arrays) diff --git a/src/data/roadmaps/typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md b/src/data/roadmaps/typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md index 7b8d8631f..63bacfcf3 100644 --- a/src/data/roadmaps/typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md +++ b/src/data/roadmaps/typescript/content/as-any@afTNr36VqeXoJpHxm2IoS.md @@ -11,3 +11,7 @@ let anyValue: any = 42; anyValue = 'Hello, world!'; anyValue = true; ``` + +Learn more from the following links: + +- [@official@Arrays](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any) diff --git a/src/data/roadmaps/typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md b/src/data/roadmaps/typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md index 36e5a2fd2..4959b921d 100644 --- a/src/data/roadmaps/typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md +++ b/src/data/roadmaps/typescript/content/as-const@pGFnTqi0-RSj0YRmNA5iy.md @@ -14,4 +14,4 @@ Using as const allows TypeScript to infer more accurate types for constants, whi Learn more from the following links: -- [@article@const assertions](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#const-assertions) +- [@official@const assertions](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#const-assertions) diff --git a/src/data/roadmaps/typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md b/src/data/roadmaps/typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md index 814cb5ed5..cf86f1c3a 100644 --- a/src/data/roadmaps/typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md +++ b/src/data/roadmaps/typescript/content/as-type@Ba0baUbomrW9td_K8U-5L.md @@ -1,6 +1,5 @@ # As Type - In TypeScript, the as keyword is used for type assertions, allowing you to explicitly inform the compiler about the type of a value when it cannot be inferred automatically. Type assertions are a way to override the default static type-checking behavior and tell the compiler that you know more about the type of a particular expression than it does. Here's a simple example: @@ -11,8 +10,9 @@ let strLength: number = (someValue as string).length; console.log(strLength); // Outputs: 18 ``` + In this example, someValue is initially of type any, and we use the as operator to assert that it is of type string before accessing its length property. It's important to note that type assertions do not change the runtime type of a value, and do not cause any type of conversion. They are a compile-time construct used for static type checking in TypeScript. -- [@article@Type assertions](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions) +- [@official@Type assertions](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions) diff --git a/src/data/roadmaps/typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md b/src/data/roadmaps/typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md index d82b8161f..e25fd51d9 100644 --- a/src/data/roadmaps/typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md +++ b/src/data/roadmaps/typescript/content/awaited@aEhI_9mFWXRIZh1ZxTuzu.md @@ -15,4 +15,4 @@ type C = Awaited>; Learn more from the following links: -- [@article@Awaited](https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype) +- [@official@Awaited``](https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype) diff --git a/src/data/roadmaps/typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md b/src/data/roadmaps/typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md index b4e28d1ac..8e2a30863 100644 --- a/src/data/roadmaps/typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md +++ b/src/data/roadmaps/typescript/content/class@tTSITP1W1ymS-njbFb8Ts.md @@ -22,4 +22,4 @@ class Car { Learn more from the following links: -- [@article@TypeScript Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html) +- [@official@TypeScript Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html) diff --git a/src/data/roadmaps/typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md b/src/data/roadmaps/typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md index eaec3cf70..915561dbf 100644 --- a/src/data/roadmaps/typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md +++ b/src/data/roadmaps/typescript/content/classes@ib0jfZzukYOZ42AdJqt_W.md @@ -24,4 +24,4 @@ In this example, the `Animal` class has a name field, a constructor that sets th Learn more from the following resources: -- [@article@Tutorial - Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html) +- [@official@Tutorial - Classes](https://www.typescriptlang.org/docs/handbook/2/classes.html) diff --git a/src/data/roadmaps/typescript/content/combining-types@qefnsugcveizVq2TORRgn.md b/src/data/roadmaps/typescript/content/combining-types@qefnsugcveizVq2TORRgn.md index f1b5f1871..10d7f35e4 100644 --- a/src/data/roadmaps/typescript/content/combining-types@qefnsugcveizVq2TORRgn.md +++ b/src/data/roadmaps/typescript/content/combining-types@qefnsugcveizVq2TORRgn.md @@ -2,7 +2,7 @@ In TypeScript, you can combine types using type union and type intersection. -### Type Union: +## Type Union The union operator `|` is used to combine two or more types into a single type that represents all the possible types. For example: @@ -13,7 +13,7 @@ let value: stringOrNumber = 'hello'; value = 42; ``` -### Type Intersection: +## Type Intersection The intersection operator `&` is used to intersect two or more types into a single type that represents the properties of all the types. For example: @@ -32,7 +32,7 @@ let value: AB = { a: 'hello', b: 42 }; Learn more from the following links: -- [@article@Union Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) +- [@official@Union Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) - [@article@Intersection Types in TypeScript](https://www.typescripttutorial.net/typescript-tutorial/typescript-intersection-types/) - [@article@Type Aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases) - [@article@Keyof Type Operator](https://www.typescriptlang.org/docs/handbook/2/keyof-types.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/compiler-options@RrExVb7l2gd0s_TlNdLeD.md b/src/data/roadmaps/typescript/content/compiler-options@RrExVb7l2gd0s_TlNdLeD.md index 48451eea1..236bfaece 100644 --- a/src/data/roadmaps/typescript/content/compiler-options@RrExVb7l2gd0s_TlNdLeD.md +++ b/src/data/roadmaps/typescript/content/compiler-options@RrExVb7l2gd0s_TlNdLeD.md @@ -8,4 +8,4 @@ tsc --target ES5 --module commonjs Learn more from the following links: -- [@article@Compiler Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) +- [@official@Compiler Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) diff --git a/src/data/roadmaps/typescript/content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md b/src/data/roadmaps/typescript/content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md index ec9e0f8be..aaa2a4a88 100644 --- a/src/data/roadmaps/typescript/content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md +++ b/src/data/roadmaps/typescript/content/conditional-types@ubGIhi-WLE0EopTYXzmPL.md @@ -15,5 +15,5 @@ In this example, the Extends conditional type takes two types T and U and return Learn more from the following links: -- [@article@Conditional Types](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#handbook-content) +- [@official@Conditional Types](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#handbook-content) - [@video@Conditional Types - Advanced TypeScript](https://www.youtube.com/watch?v=QFWrbNehKk0) diff --git a/src/data/roadmaps/typescript/content/constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md b/src/data/roadmaps/typescript/content/constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md index a32cea9d8..e290eafdc 100644 --- a/src/data/roadmaps/typescript/content/constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md +++ b/src/data/roadmaps/typescript/content/constructor-overloading@oxzcYXxy2I7GI7nbvFYVa.md @@ -17,4 +17,4 @@ Note that, similar to function overloading, we only have one implementation of t Learn more from the following resources: -- [@article@Constructors - TypeScript](https://www.typescriptlang.org/docs/handbook/2/classes.html#constructors) +- [@official@Constructors - TypeScript](https://www.typescriptlang.org/docs/handbook/2/classes.html#constructors) diff --git a/src/data/roadmaps/typescript/content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md b/src/data/roadmaps/typescript/content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md index 79ee62b75..105e56363 100644 --- a/src/data/roadmaps/typescript/content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md +++ b/src/data/roadmaps/typescript/content/constructor-params@3XrKbK5Od2eoM0BLaS4kU.md @@ -12,4 +12,4 @@ In this example, the constructor has two parameters: name and age. name has a pr Learn more from the following links: -- [@article@TypeScript - Construct](https://www.typescriptlang.org/docs/handbook/2/classes.html#constructors) +- [@official@TypeScript - Construct](https://www.typescriptlang.org/docs/handbook/2/classes.html#constructors) diff --git a/src/data/roadmaps/typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md b/src/data/roadmaps/typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md index c905c28fe..222685b0a 100644 --- a/src/data/roadmaps/typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md +++ b/src/data/roadmaps/typescript/content/decorators@TRx3wvWnRdJJf5eL-GBG4.md @@ -37,4 +37,4 @@ In this example, we use the `@log` decorator to modify the behavior of the `add` Learn more from the following links: -- [@article@Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html#handbook-content) +- [@official@Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md b/src/data/roadmaps/typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md index b38360282..157af5cbc 100644 --- a/src/data/roadmaps/typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md +++ b/src/data/roadmaps/typescript/content/enum@bfZIXHceDKDGQl-24kQpT.md @@ -19,4 +19,4 @@ If we left off the initializer for `Up`, it would have the value `0` and the res Learn more from the following links: -- [@article@TypeScript - Enums](https://www.typescriptlang.org/docs/handbook/enums.html) +- [@official@TypeScript - Enums](https://www.typescriptlang.org/docs/handbook/enums.html) diff --git a/src/data/roadmaps/typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md b/src/data/roadmaps/typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md index 948a06eeb..16a1b66b0 100644 --- a/src/data/roadmaps/typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md +++ b/src/data/roadmaps/typescript/content/equality@Wy2yIK5vgLjEcc9VjuQK5.md @@ -19,4 +19,4 @@ When we checked that `x` and `y` are both equal in the above example, TypeScript Learn more from the following links: -- [@article@Equality Narrowing](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#equality-narrowing) +- [@official@Equality Narrowing](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#equality-narrowing) diff --git a/src/data/roadmaps/typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md b/src/data/roadmaps/typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md index c91454f42..d4dbeb833 100644 --- a/src/data/roadmaps/typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md +++ b/src/data/roadmaps/typescript/content/exclude@0fvOXi9gJbEc7etqTggNE.md @@ -10,4 +10,4 @@ type T2 = Exclude void), Function>; // string | number Learn more from the following links: -- [@article@Exclude](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers) +- [@official@Exclude](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers) diff --git a/src/data/roadmaps/typescript/content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md b/src/data/roadmaps/typescript/content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md index 4d69ab004..6580fdabe 100644 --- a/src/data/roadmaps/typescript/content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md +++ b/src/data/roadmaps/typescript/content/extending-interfaces@O-9WQqidujLIEOTcOfy4n.md @@ -23,4 +23,4 @@ In this example, the `Square` interface extends the `Shape` interface and adds a Learn more from the following links: -- [@article@Extending Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) +- [@official@Extending Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) diff --git a/src/data/roadmaps/typescript/content/external-modules@egQWk1n3p8Pep83yIwCtI.md b/src/data/roadmaps/typescript/content/external-modules@egQWk1n3p8Pep83yIwCtI.md index e8aea4c30..20b994e7a 100644 --- a/src/data/roadmaps/typescript/content/external-modules@egQWk1n3p8Pep83yIwCtI.md +++ b/src/data/roadmaps/typescript/content/external-modules@egQWk1n3p8Pep83yIwCtI.md @@ -19,5 +19,5 @@ In this example, we use the "export" keyword in the "myModule.ts" file to export Learn more from the following links: -- [@article@External Module](https://www.javatpoint.com/typescript-module) +- [@official@External Module](https://www.javatpoint.com/typescript-module) - [@article@TypeScript - External Module](https://learncodeweb.com/typescript/modules-in-typescript-explain-with-an-example/) diff --git a/src/data/roadmaps/typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md b/src/data/roadmaps/typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md index 9d776f73a..fac0219bd 100644 --- a/src/data/roadmaps/typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md +++ b/src/data/roadmaps/typescript/content/extract@IIAbAzXiVQm1JEi2MTMZN.md @@ -9,4 +9,4 @@ type T0 = Extract<'a' | 'b' | 'c', 'a' | 'f'>; Learn more from the following links: -- [@article@Extract](https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union) +- [@official@Extract](https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union) diff --git a/src/data/roadmaps/typescript/content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md b/src/data/roadmaps/typescript/content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md index 7bfac4736..7817e89f7 100644 --- a/src/data/roadmaps/typescript/content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md +++ b/src/data/roadmaps/typescript/content/function-overloading@-0Zp6b8NjDyz9MAQE3HfS.md @@ -16,4 +16,4 @@ console.log(add('Hello', ' World')); // "Hello World" Learn more from the following links: -- [@article@Function Overloads](https://www.typescriptlang.org/docs/handbook/2/functions.html#function-overloads) +- [@official@Function Overloads](https://www.typescriptlang.org/docs/handbook/2/functions.html#function-overloads) diff --git a/src/data/roadmaps/typescript/content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md b/src/data/roadmaps/typescript/content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md index ec58b29db..c96f52fdb 100644 --- a/src/data/roadmaps/typescript/content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md +++ b/src/data/roadmaps/typescript/content/generic-constraints@0NXHAOUYGIwuPwlN7r_B3.md @@ -24,4 +24,4 @@ In this example, the `Lengthwise` interface defines a `length` property. The `lo Learn more from the following resources: -- [@article@Generic Constraints - TypeScript](https://www.typescriptlang.org/docs/handbook/2/generics.html#generic-constraints) +- [@official@Generic Constraints - TypeScript](https://www.typescriptlang.org/docs/handbook/2/generics.html#generic-constraints) diff --git a/src/data/roadmaps/typescript/content/generic-types@T2-VAVfntouJOoWHpHZ3n.md b/src/data/roadmaps/typescript/content/generic-types@T2-VAVfntouJOoWHpHZ3n.md index d1b6da537..a7848b8cf 100644 --- a/src/data/roadmaps/typescript/content/generic-types@T2-VAVfntouJOoWHpHZ3n.md +++ b/src/data/roadmaps/typescript/content/generic-types@T2-VAVfntouJOoWHpHZ3n.md @@ -33,4 +33,4 @@ myGenericNumber.add = function (x, y) { Learn more from the following resources: -- [@article@Hello World of Generics](https://www.typescriptlang.org/docs/handbook/2/generics.html#hello-world-of-generics) +- [@official@Hello World of Generics](https://www.typescriptlang.org/docs/handbook/2/generics.html#hello-world-of-generics) diff --git a/src/data/roadmaps/typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md b/src/data/roadmaps/typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md index 9c43b719c..952964d0f 100644 --- a/src/data/roadmaps/typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md +++ b/src/data/roadmaps/typescript/content/generics@4gaKqNtGLFqpk9WVKZl0v.md @@ -16,4 +16,4 @@ In this example, the `identity` function takes a single argument of any data typ Learn more from the following resources: -- [@article@Hello World of Generics](https://www.typescriptlang.org/docs/handbook/2/generics.html#hello-world-of-generics) +- [@official@Hello World of Generics](https://www.typescriptlang.org/docs/handbook/2/generics.html#hello-world-of-generics) diff --git a/src/data/roadmaps/typescript/content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md b/src/data/roadmaps/typescript/content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md index 715b0e7e2..47040bda6 100644 --- a/src/data/roadmaps/typescript/content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md +++ b/src/data/roadmaps/typescript/content/global-augmentation@JQwWeB1gkANSYfQmH69Bs.md @@ -24,4 +24,4 @@ In this example, we declare a new namespace "NodeJS" and add an interface "Globa Learn more from the following links: -- [@article@Global augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#global-augmentation) +- [@official@Global augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#global-augmentation) diff --git a/src/data/roadmaps/typescript/content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md b/src/data/roadmaps/typescript/content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md index b7de10023..71bcc588f 100644 --- a/src/data/roadmaps/typescript/content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md +++ b/src/data/roadmaps/typescript/content/hybrid-types@lvtTSHH9yBTCiLng8btnI.md @@ -24,3 +24,7 @@ type User = { education: Education; }; ``` + +Learn more from the following links: + +- [@official@Geeksforgeeks.org - Hybrid Types](https://www.geeksforgeeks.org/what-are-hybrid-types-in-typescript/#:~:text=Hybrid%20types%20are%20a%20combination,properties%20like%20a%20regular%20object.) diff --git a/src/data/roadmaps/typescript/content/inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md b/src/data/roadmaps/typescript/content/inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md index ccfec0cb2..9ffdb8243 100644 --- a/src/data/roadmaps/typescript/content/inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md +++ b/src/data/roadmaps/typescript/content/inheritance-vs-polymorphism@8P0-vb9nlnmz7iC4UvyJZ.md @@ -36,4 +36,5 @@ animal.makeSound(); // Output: Meow Learn more from the following resources: +- [@article@Dev.to - Mastering OOP in TypeScript](https://dev.to/rajrathod/mastering-object-oriented-programming-with-typescript-encapsulation-abstraction-inheritance-and-polymorphism-explained-c6p) - [@video@Inheritance and Polymorphism In TypeScript](https://www.youtube.com/watch?v=Sn6K57YSuwU) diff --git a/src/data/roadmaps/typescript/content/installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md b/src/data/roadmaps/typescript/content/installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md index cc5e327be..118f7cbc7 100644 --- a/src/data/roadmaps/typescript/content/installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md +++ b/src/data/roadmaps/typescript/content/installation-and-configuration@dA8CNQOgJRDa0T7rmyS7f.md @@ -45,5 +45,5 @@ And you're all set! You can now start writing TypeScript code in your project. Learn more from the following links: -- [@article@Install and Configure TypeScript](https://www.typescriptlang.org/download) +- [@official@Install and Configure TypeScript](https://www.typescriptlang.org/download) - [@article@TypeScript Getting Started](https://thenewstack.io/typescript-tutorial-a-guide-to-using-the-programming-language/) diff --git a/src/data/roadmaps/typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md b/src/data/roadmaps/typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md index 84c070188..486e4f1bf 100644 --- a/src/data/roadmaps/typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md +++ b/src/data/roadmaps/typescript/content/instanceof@EDOU5a7UK17yp3PdFBJMc.md @@ -24,4 +24,4 @@ if (pet instanceof Bird) { Learn more from the following links: -- [@article@instanceOf Operator](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#instanceof-narrowing) +- [@official@instanceOf Operator](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#instanceof-narrowing) diff --git a/src/data/roadmaps/typescript/content/instancetype@izGAjNtrh3BzQt3KiZX0W.md b/src/data/roadmaps/typescript/content/instancetype@izGAjNtrh3BzQt3KiZX0W.md index 87af5d095..3af027cf1 100644 --- a/src/data/roadmaps/typescript/content/instancetype@izGAjNtrh3BzQt3KiZX0W.md +++ b/src/data/roadmaps/typescript/content/instancetype@izGAjNtrh3BzQt3KiZX0W.md @@ -26,4 +26,4 @@ type T4 = InstanceType; Learn more from the following links: -- [@article@InstanceType](https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype) +- [@official@InstanceType``](https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype) diff --git a/src/data/roadmaps/typescript/content/interface-declaration@fY40W8prpgiNqRL50w7ub.md b/src/data/roadmaps/typescript/content/interface-declaration@fY40W8prpgiNqRL50w7ub.md index 33b15acb2..6b5011521 100644 --- a/src/data/roadmaps/typescript/content/interface-declaration@fY40W8prpgiNqRL50w7ub.md +++ b/src/data/roadmaps/typescript/content/interface-declaration@fY40W8prpgiNqRL50w7ub.md @@ -18,4 +18,4 @@ In this example, the Person interface defines four properties: `firstName`, `las Learn more from the following links: -- [@article@Extending Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) +- [@official@Extending Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) diff --git a/src/data/roadmaps/typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md b/src/data/roadmaps/typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md index 7dcec8156..e699241c3 100644 --- a/src/data/roadmaps/typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md +++ b/src/data/roadmaps/typescript/content/interface@mVKsM7R4Ivpdhnbwt1aRb.md @@ -15,4 +15,4 @@ function greet(person: Person) { Learn more from the following links: -- [@article@Object Types - Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) +- [@official@Object Types - Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) diff --git a/src/data/roadmaps/typescript/content/introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md b/src/data/roadmaps/typescript/content/introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md index 59d65f30b..413311c4c 100644 --- a/src/data/roadmaps/typescript/content/introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md +++ b/src/data/roadmaps/typescript/content/introduction-to-typescript@KDd40JOAvZ8O1mfhTYB3K.md @@ -11,8 +11,8 @@ The main benefits of using TypeScript include: Learn more from the following links: -- [@article@Overview of TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html) -- [@article@TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html) +- [@official@Overview of TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html) +- [@official@TypeScript Official Handbook](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html) - [@article@What Is TypeScript?](https://thenewstack.io/what-is-typescript/) - [@video@Video: Where TypeScript Excels](https://youtu.be/BUo7B6UuoJ4) - [@feed@Explore top posts about TypeScript](https://app.daily.dev/tags/typescript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md b/src/data/roadmaps/typescript/content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md index 0386d289d..b82965be8 100644 --- a/src/data/roadmaps/typescript/content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md +++ b/src/data/roadmaps/typescript/content/keyof-operator@t1Tcesfq7bV2TkHcfD6lU.md @@ -17,4 +17,4 @@ In this example, `UserKeys` is a type that represents the union of keys from the Learn more from the following links: -- [@article@Keyof Type Operator](https://www.typescriptlang.org/docs/handbook/2/keyof-types.html#handbook-content) +- [@official@keyof Type Operator](https://www.typescriptlang.org/docs/handbook/2/keyof-types.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md b/src/data/roadmaps/typescript/content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md index b28f1700d..13082339b 100644 --- a/src/data/roadmaps/typescript/content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md +++ b/src/data/roadmaps/typescript/content/literal-types@CWzGwvl6NwYCaLYSLIjqQ.md @@ -15,4 +15,4 @@ In this example, the `Age` literal type is created by using the number `42` as a Learn more from the following links: -- [@article@Literal Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types) +- [@official@Literal Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types) diff --git a/src/data/roadmaps/typescript/content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md b/src/data/roadmaps/typescript/content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md index 0823f3388..58af5b94b 100644 --- a/src/data/roadmaps/typescript/content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md +++ b/src/data/roadmaps/typescript/content/mapped-types@VQ-V9qIdKgnpSJg2UnpuB.md @@ -17,4 +17,4 @@ In this example, the `Readonly` mapped type takes an object type `T` and creates Learn more from the following links: -- [@article@Mapped Types](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#handbook-content) +- [@official@Mapped Types](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/method-overriding@aknqutxN2WDQ4RFcT-szM.md b/src/data/roadmaps/typescript/content/method-overriding@aknqutxN2WDQ4RFcT-szM.md index e917a2de0..5102f3c1a 100644 --- a/src/data/roadmaps/typescript/content/method-overriding@aknqutxN2WDQ4RFcT-szM.md +++ b/src/data/roadmaps/typescript/content/method-overriding@aknqutxN2WDQ4RFcT-szM.md @@ -27,4 +27,4 @@ In this example, the `Dog` class overrides the makeSound method defined in the A Learn more from the following resources: -- [@article@TypeScript - Overriding Methods](https://www.typescriptlang.org/docs/handbook/2/classes.html#overriding-methods) +- [@official@TypeScript - Overriding Methods](https://www.typescriptlang.org/docs/handbook/2/classes.html#overriding-methods) diff --git a/src/data/roadmaps/typescript/content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md b/src/data/roadmaps/typescript/content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md index 3b61e3af9..3a06c6a49 100644 --- a/src/data/roadmaps/typescript/content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md +++ b/src/data/roadmaps/typescript/content/namespace-agumentation@16TT8R4N-9tCfWmPetqMP.md @@ -30,4 +30,4 @@ In this example, we use namespace augmentation to add a new function "newFunctio Learn more from the following links: -- [@article@Module Augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) +- [@official@Module Augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) diff --git a/src/data/roadmaps/typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md b/src/data/roadmaps/typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md index 46e495292..2274ed220 100644 --- a/src/data/roadmaps/typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md +++ b/src/data/roadmaps/typescript/content/namespaces@EtVwQ4lnWi3IIFHGb2Qib.md @@ -21,6 +21,6 @@ In this example, we use the `namespace` keyword in the "myNamespace.ts" file to Learn more from the following resources: -- [@article@Overview of Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html) -- [@article@Namespaces and Modules](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html) -- [@article@TypeScript - Using Namespaces](https://typescriptlang.org/docs/handbook/namespaces-and-modules.html#using-namespaces) +- [@official@Overview of Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html) +- [@official@Namespaces and Modules](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html) +- [@official@TypeScript - Using Namespaces](https://typescriptlang.org/docs/handbook/namespaces-and-modules.html#using-namespaces) diff --git a/src/data/roadmaps/typescript/content/never@0pi9VTbngcAIswuu5LIYg.md b/src/data/roadmaps/typescript/content/never@0pi9VTbngcAIswuu5LIYg.md index 2edf9f967..e393315a6 100644 --- a/src/data/roadmaps/typescript/content/never@0pi9VTbngcAIswuu5LIYg.md +++ b/src/data/roadmaps/typescript/content/never@0pi9VTbngcAIswuu5LIYg.md @@ -25,4 +25,4 @@ function infiniteLoop(): never { Learn more from the following links: -- [@article@Never](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#the-never-type) +- [@official@Never Type](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#the-never-type) diff --git a/src/data/roadmaps/typescript/content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md b/src/data/roadmaps/typescript/content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md index dfd22a74c..f6742e68a 100644 --- a/src/data/roadmaps/typescript/content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md +++ b/src/data/roadmaps/typescript/content/non-null-assertion@mjaL5ocLnM8VQlhUxW6KU.md @@ -13,4 +13,4 @@ The non-null assertion operator is used to assert that a value is not null or un Learn more from the following links: -- [@article@Non-null assertion operator](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#non-null-assertion-operator) +- [@official@Non-null assertion operator](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#non-null-assertion-operator) diff --git a/src/data/roadmaps/typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md b/src/data/roadmaps/typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md index 55d6ef5ca..b5a870054 100644 --- a/src/data/roadmaps/typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md +++ b/src/data/roadmaps/typescript/content/nonnullable@_BAZlBEzE7ddr315OeHvl.md @@ -12,4 +12,4 @@ type T1 = NonNullable; Learn more from the following links: -- [@article@NonNullable](https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype) +- [@official@NonNullable](https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype) diff --git a/src/data/roadmaps/typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md b/src/data/roadmaps/typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md index feb0f82c3..0f9ca6317 100644 --- a/src/data/roadmaps/typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md +++ b/src/data/roadmaps/typescript/content/null@cjAwawhZLo1qVQ93XIdm2.md @@ -20,4 +20,4 @@ function doSomething(x: string | null) { Learn more from the following links: -- [@article@null and undefined](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#null-and-undefined) +- [@official@null and undefined](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#null-and-undefined) diff --git a/src/data/roadmaps/typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md b/src/data/roadmaps/typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md index c1db2faa2..7cf35b444 100644 --- a/src/data/roadmaps/typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md +++ b/src/data/roadmaps/typescript/content/number@UH9d3cvGy_e67WFNFwCyf.md @@ -9,4 +9,4 @@ let floatValue: number = 3.14; Learn more from the following links: -- [@article@Number, String, Boolean, Symbol and Object](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean) +- [@official@Number, String, Boolean, Symbol and Object](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean) diff --git a/src/data/roadmaps/typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md b/src/data/roadmaps/typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md index 98ea850a9..030736042 100644 --- a/src/data/roadmaps/typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md +++ b/src/data/roadmaps/typescript/content/object@vnqvm_WiaKqpdxrW4wRGa.md @@ -16,4 +16,4 @@ printCoord({ x: 3, y: 7 }); Learn more from the following links: -- [@article@Object Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#object-types) +- [@official@Object Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#object-types) diff --git a/src/data/roadmaps/typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md b/src/data/roadmaps/typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md index c818fc959..552db3f83 100644 --- a/src/data/roadmaps/typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md +++ b/src/data/roadmaps/typescript/content/omit@yjlxygHl8QONNUrdx-Q0A.md @@ -28,4 +28,4 @@ const todoInfo: TodoInfo = { Learn more from the following links: -- [@article@Omit](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys) +- [@official@Omit](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys) diff --git a/src/data/roadmaps/typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md b/src/data/roadmaps/typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md index bbbc95e78..13dbeb835 100644 --- a/src/data/roadmaps/typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md +++ b/src/data/roadmaps/typescript/content/parameters@a7hl0iMZ-jcUACxqIYVqv.md @@ -34,4 +34,4 @@ type T7 = Parameters; Learn more from the following links: -- [@article@Parameters](https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype) +- [@official@Parameters](https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype) diff --git a/src/data/roadmaps/typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md b/src/data/roadmaps/typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md index ebcdb6866..39732ebc3 100644 --- a/src/data/roadmaps/typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md +++ b/src/data/roadmaps/typescript/content/partial@gBTem9Dp3IQLAkqGX4fOF.md @@ -28,4 +28,4 @@ console.log(newUser); Learn more from the following links: -- [@article@Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype) +- [@official@Partial](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype) diff --git a/src/data/roadmaps/typescript/content/pick@E88tHQvARkHURZwGaO02l.md b/src/data/roadmaps/typescript/content/pick@E88tHQvARkHURZwGaO02l.md index 827f32905..a158f879f 100644 --- a/src/data/roadmaps/typescript/content/pick@E88tHQvARkHURZwGaO02l.md +++ b/src/data/roadmaps/typescript/content/pick@E88tHQvARkHURZwGaO02l.md @@ -19,4 +19,4 @@ const todo: TodoPreview = { Learn more from the following links: -- [@article@Pick](https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys) +- [@official@Pick](https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys) diff --git a/src/data/roadmaps/typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md b/src/data/roadmaps/typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md index eaef2f1df..2af4f67e3 100644 --- a/src/data/roadmaps/typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md +++ b/src/data/roadmaps/typescript/content/readonly@IuO9-O_DQdDYuAbdGWdgb.md @@ -17,4 +17,4 @@ todo.title = 'Hello'; Learn more from the following links: -- [@article@Readonly](https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype) +- [@official@Readonly](https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype) diff --git a/src/data/roadmaps/typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md b/src/data/roadmaps/typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md index d4187b66a..9e7a32ec4 100644 --- a/src/data/roadmaps/typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md +++ b/src/data/roadmaps/typescript/content/record@DRdBmF5Dt_r09LoPOxOuq.md @@ -19,4 +19,4 @@ const cats: Record = { Learn more from the following links: -- [@article@Record](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type) +- [@official@Record](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type) diff --git a/src/data/roadmaps/typescript/content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md b/src/data/roadmaps/typescript/content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md index 8d7f3f1bd..e577d6fc3 100644 --- a/src/data/roadmaps/typescript/content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md +++ b/src/data/roadmaps/typescript/content/recursive-types@N8xBTJ74xv1E5hSLYZtze.md @@ -17,3 +17,7 @@ let list: LinkedList = { ``` In this example, the `LinkedList` type is defined as a type that extends `T` and contains a property `next` of the same type `LinkedList`. This allows us to create a linked list where each node contains a value of type `T` and a reference to the next node in the list. + +Learn more from the following links: + +- [@official@Recursive Types in TypeScript](https://www.typescriptlang.org/play/3-7/types-and-code-flow/recursive-type-references.ts.html) diff --git a/src/data/roadmaps/typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md b/src/data/roadmaps/typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md index 2e16d29a6..54c1837e9 100644 --- a/src/data/roadmaps/typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md +++ b/src/data/roadmaps/typescript/content/returntype@On75JR_UkiIlha0_qaSeu.md @@ -37,4 +37,4 @@ type T8 = ReturnType; Learn more from the following links: -- [@article@ReturnType](https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype) +- [@official@ReturnType](https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype) diff --git a/src/data/roadmaps/typescript/content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md b/src/data/roadmaps/typescript/content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md index f176b0b35..937914d2f 100644 --- a/src/data/roadmaps/typescript/content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md +++ b/src/data/roadmaps/typescript/content/running-typescript@qdy4ZIY2EKgmPNdu_ndcg.md @@ -17,5 +17,5 @@ node app.js Learn more from the following link: -- [@article@Running your TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-tooling-in-5-minutes.html) +- [@official@Running your TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-tooling-in-5-minutes.html) - [@feed@Explore top posts about TypeScript](https://app.daily.dev/tags/typescript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md b/src/data/roadmaps/typescript/content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md index 02218339b..e0fee0113 100644 --- a/src/data/roadmaps/typescript/content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md +++ b/src/data/roadmaps/typescript/content/satisfies-keyword@HD1UGOidp7JGKdW6CEdQ_.md @@ -56,4 +56,4 @@ const greenNormalized = palette.green.toUpperCase(); Learn more from the following resources: -- [@article@Satisfies Keyword](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator) +- [@official@satisfies Keyword](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator) diff --git a/src/data/roadmaps/typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md b/src/data/roadmaps/typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md index a11f97179..121964ccd 100644 --- a/src/data/roadmaps/typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md +++ b/src/data/roadmaps/typescript/content/string@d8iV-IBZ6cSnH8Z5_HRmc.md @@ -8,4 +8,4 @@ let name: string = 'John Doe'; Learn more from the following link -- [@article@Number, String, Boolean, Symbol and Object](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean) +- [@official@Number, String, Boolean, Symbol and Object](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean) diff --git a/src/data/roadmaps/typescript/content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md b/src/data/roadmaps/typescript/content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md index 5f2873604..1d2dbeb8b 100644 --- a/src/data/roadmaps/typescript/content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md +++ b/src/data/roadmaps/typescript/content/template-literal-types@xP25nGw42VqdfZ_9pDMXd.md @@ -15,4 +15,4 @@ In this example, the `Name` template literal type is created by concatenating th Learn more from the following links: -- [@article@Template Literal Types](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#handbook-content) +- [@official@Template Literal Types](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md b/src/data/roadmaps/typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md index 47f049312..343cd858b 100644 --- a/src/data/roadmaps/typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md +++ b/src/data/roadmaps/typescript/content/truthiness@Xonbxc7MvMEonKBvbkCAH.md @@ -16,4 +16,4 @@ function getUsersOnlineMessage(numUsersOnline: number) { Learn more from the following links: -- [@article@Truthiness Narrowing](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#truthiness-narrowing) +- [@official@Truthiness Narrowing](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#truthiness-narrowing) diff --git a/src/data/roadmaps/typescript/content/ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md b/src/data/roadmaps/typescript/content/ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md index 5ebc49286..8198715d1 100644 --- a/src/data/roadmaps/typescript/content/ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md +++ b/src/data/roadmaps/typescript/content/ts-and-js-interoperability@dcLaEU_lb0z_QypL1ZhpX.md @@ -24,5 +24,5 @@ function add(a, b) { Learn more from the following links: -- [@article@Type Checking JavaScript Files](https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html) +- [@official@Type Checking JavaScript Files](https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html) - [@video@Using JavaScript in TypeScript](https://youtu.be/AZhZlEbBaB4) diff --git a/src/data/roadmaps/typescript/content/ts-playground@_bZ71i36haWgHQTY0yMOx.md b/src/data/roadmaps/typescript/content/ts-playground@_bZ71i36haWgHQTY0yMOx.md index 63350357d..c267cf485 100644 --- a/src/data/roadmaps/typescript/content/ts-playground@_bZ71i36haWgHQTY0yMOx.md +++ b/src/data/roadmaps/typescript/content/ts-playground@_bZ71i36haWgHQTY0yMOx.md @@ -4,5 +4,5 @@ The TypeScript Playground is a great tool to learn TypeScript. It allows you to Learn more from the following links: -- [@article@TypeScript - Playground](https://www.typescriptlang.org/play) +- [@official@TypeScript Official - Playground](https://www.typescriptlang.org/play) - [@feed@Explore top posts about TypeScript](https://app.daily.dev/tags/typescript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md b/src/data/roadmaps/typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md index 3e34ff383..c3be72f2e 100644 --- a/src/data/roadmaps/typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md +++ b/src/data/roadmaps/typescript/content/tsc@Iv_t13PSVzet5VPKFtAp1.md @@ -20,5 +20,5 @@ You can run `tsc --help` to see a list of all the available options and flags. Learn more from the following links: -- [@article@tsc CLI Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html#using-the-cli) +- [@official@tsc CLI Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html#using-the-cli) - [@feed@Explore top posts about TypeScript](https://app.daily.dev/tags/typescript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md b/src/data/roadmaps/typescript/content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md index c973f7ac9..22089f2c0 100644 --- a/src/data/roadmaps/typescript/content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md +++ b/src/data/roadmaps/typescript/content/tsconfigjson@DmqrX56d9KnBcOSwlJR2q.md @@ -28,4 +28,4 @@ Given below is the sample `tsconfig.json` file: Learn more from the following links: -- [@article@What is a tsconfig.json](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#handbook-content) +- [@official@What is a tsconfig.json](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md b/src/data/roadmaps/typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md index ca6d85986..c70710842 100644 --- a/src/data/roadmaps/typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md +++ b/src/data/roadmaps/typescript/content/tuple@jq-GD0DLyzrEXQKUmt5kv.md @@ -16,4 +16,4 @@ const third = pair[2]; Learn more from the following links: -- [@article@Tuple Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#tuple-types) +- [@official@Tuple Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#tuple-types) diff --git a/src/data/roadmaps/typescript/content/type-aliases@M_3O21zjppgWptIT5dtu8.md b/src/data/roadmaps/typescript/content/type-aliases@M_3O21zjppgWptIT5dtu8.md index 29f881b21..681e22cd7 100644 --- a/src/data/roadmaps/typescript/content/type-aliases@M_3O21zjppgWptIT5dtu8.md +++ b/src/data/roadmaps/typescript/content/type-aliases@M_3O21zjppgWptIT5dtu8.md @@ -16,4 +16,4 @@ In the example above, `Name` and `Age` are type aliases for `string` and `number Learn more from the following links: -- [@article@Type Aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases) +- [@official@Type Aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases) diff --git a/src/data/roadmaps/typescript/content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md b/src/data/roadmaps/typescript/content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md index 92b1f9cdc..ed8ff3c74 100644 --- a/src/data/roadmaps/typescript/content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md +++ b/src/data/roadmaps/typescript/content/type-compatibility@alMJCEyUZ90xz-2_g3YRj.md @@ -20,4 +20,4 @@ In this example, `p1` has the type `Point`, while `p2` has the type `{ x: number Learn more from the following links: -- [@article@Type Compatibility](https://www.typescriptlang.org/docs/handbook/type-compatibility.html) +- [@official@Type Compatibility](https://www.typescriptlang.org/docs/handbook/type-compatibility.html) diff --git a/src/data/roadmaps/typescript/content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md b/src/data/roadmaps/typescript/content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md index 24e157842..e7cd8ed0b 100644 --- a/src/data/roadmaps/typescript/content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md +++ b/src/data/roadmaps/typescript/content/type-guards--narrowing@cFZsxpYHDxm7IWwergb3r.md @@ -4,4 +4,4 @@ Type guards are a way to narrow down the type of a variable. This is useful when Learn more from the following resources: -- [@article@Type Guards - TypeScript Docs](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#typeof-type-guards) +- [@official@Type Guards - TypeScript Docs](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#typeof-type-guards) diff --git a/src/data/roadmaps/typescript/content/type-inference@KUur-gfOBQodTS-irFet7.md b/src/data/roadmaps/typescript/content/type-inference@KUur-gfOBQodTS-irFet7.md index 069f351f4..4a9e5aeb3 100644 --- a/src/data/roadmaps/typescript/content/type-inference@KUur-gfOBQodTS-irFet7.md +++ b/src/data/roadmaps/typescript/content/type-inference@KUur-gfOBQodTS-irFet7.md @@ -12,4 +12,4 @@ In this example, the TypeScript compiler automatically infers that the type of t Learn more from the following links: -- [@article@Type Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html#handbook-content) +- [@official@Type Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html#handbook-content) diff --git a/src/data/roadmaps/typescript/content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md b/src/data/roadmaps/typescript/content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md index 47f57f58a..839f7b4ef 100644 --- a/src/data/roadmaps/typescript/content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md +++ b/src/data/roadmaps/typescript/content/type-predicates@1DOSAieOmWUNNsQQrqf2m.md @@ -19,4 +19,4 @@ function example(x: unknown) { Learn more from the following links: -- [@article@Type Guards and Differentiating Types](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) +- [@official@Type Guards and Differentiating Types](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) diff --git a/src/data/roadmaps/typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md b/src/data/roadmaps/typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md index 1d216ecbe..5f4820103 100644 --- a/src/data/roadmaps/typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md +++ b/src/data/roadmaps/typescript/content/typeof@ZiOcFZy85p7tLzUkyKDei.md @@ -14,4 +14,4 @@ if (typeof value === 'string') { Learn more from the following links: -- [@article@Type Guards and Differentiating Types](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#typeof-type-guards) +- [@official@Type Guards and Differentiating Types](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#typeof-type-guards) diff --git a/src/data/roadmaps/typescript/content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md b/src/data/roadmaps/typescript/content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md index da5150059..db54a2dd2 100644 --- a/src/data/roadmaps/typescript/content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md +++ b/src/data/roadmaps/typescript/content/types-vs-interfaces@TxkEpoOiuUm-fXJuFVKcH.md @@ -32,5 +32,5 @@ const person: Person = { Learn more from the following links: -- [@article@Interfaces vs. Type Aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#differences-between-type-aliases-and-interfaces) +- [@official@Interfaces vs. Type Aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#differences-between-type-aliases-and-interfaces) - [@article@Interfaces vs Types in TypeScript](https://stackoverflow.com/questions/37233735/interfaces-vs-types-in-typescript) diff --git a/src/data/roadmaps/typescript/content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md b/src/data/roadmaps/typescript/content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md index 182c5e5f8..0c338505f 100644 --- a/src/data/roadmaps/typescript/content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md +++ b/src/data/roadmaps/typescript/content/typescript-functions@qOynVkDi1gFz0mxyJHjfJ.md @@ -20,4 +20,4 @@ let name = function(param1: type1, param2: type2, ...): returnType { Learn more from the following links: -- [@article@Functions in TypeScript](https://www.typescriptlang.org/docs/handbook/2/functions.html) +- [@official@Functions in TypeScript](https://www.typescriptlang.org/docs/handbook/2/functions.html) diff --git a/src/data/roadmaps/typescript/content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md b/src/data/roadmaps/typescript/content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md index bd3b5080e..9aaa063a2 100644 --- a/src/data/roadmaps/typescript/content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md +++ b/src/data/roadmaps/typescript/content/typescript-interfaces@aH1DxiG5xrdNlKutJ_gTz.md @@ -20,4 +20,4 @@ In this example, the `User` interface defines the structure of the `user` object Learn more from the following links: -- [@article@TypeScript - Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) +- [@official@TypeScript - Interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html) diff --git a/src/data/roadmaps/typescript/content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md b/src/data/roadmaps/typescript/content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md index bf20a3534..06db839f0 100644 --- a/src/data/roadmaps/typescript/content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md +++ b/src/data/roadmaps/typescript/content/typescript-modules@sE9lqkkqwnsVJxTJv37YZ.md @@ -26,5 +26,5 @@ MyModule.doSomething(); // Output: "Doing something..." Learn more from the following links: -- [@article@Modules](https://www.typescriptlang.org/docs/handbook/modules.html#handbook-content) +- [@official@Modules](https://www.typescriptlang.org/docs/handbook/modules.html#handbook-content) - [@video@TypeScript - Modules](https://www.youtube.com/watch?v=EpOPR03z4Vw) diff --git a/src/data/roadmaps/typescript/content/typescript-types@qcrGApxNzkGYxgcd7o45d.md b/src/data/roadmaps/typescript/content/typescript-types@qcrGApxNzkGYxgcd7o45d.md index 6fb824dc3..131f621e7 100644 --- a/src/data/roadmaps/typescript/content/typescript-types@qcrGApxNzkGYxgcd7o45d.md +++ b/src/data/roadmaps/typescript/content/typescript-types@qcrGApxNzkGYxgcd7o45d.md @@ -23,5 +23,5 @@ You can also create custom types in TypeScript using interfaces, classes, and ty Learn more from the following links: -- [@article@TypeScript - Everyday Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html) +- [@official@TypeScript - Everyday Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html) - [@feed@Explore top posts about TypeScript](https://app.daily.dev/tags/typescript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md b/src/data/roadmaps/typescript/content/typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md index ef4ca7f90..9f496940b 100644 --- a/src/data/roadmaps/typescript/content/typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md +++ b/src/data/roadmaps/typescript/content/typescript-vs-javascript@MQWzN_kXxVJMOYbRXSGJc.md @@ -11,6 +11,6 @@ Here are a few key differences between TypeScript and JavaScript: Learn more from the following links: -- [@article@Learning JavaScript and TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html#learning-javascript-and-typescript) +- [@official@Learning JavaScript and TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html#learning-javascript-and-typescript) - [@article@TypeScript vs. JavaScript](https://thenewstack.io/typescript-vs-javascript/) - [@feed@Explore top posts about JavaScript](https://app.daily.dev/tags/javascript?ref=roadmapsh) diff --git a/src/data/roadmaps/typescript/content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md b/src/data/roadmaps/typescript/content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md index 0f0578d5a..c19535330 100644 --- a/src/data/roadmaps/typescript/content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md +++ b/src/data/roadmaps/typescript/content/typing-functions@9FIhHwDNzyKpb42NmSv3K.md @@ -30,4 +30,4 @@ divide = (a, b) => { Learn more from the following links: -- [@article@TypeScript Functions](https://www.typescriptlang.org/docs/handbook/2/functions.html) +- [@official@TypeScript Functions](https://www.typescriptlang.org/docs/handbook/2/functions.html) diff --git a/src/data/roadmaps/typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md b/src/data/roadmaps/typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md index f3dc09841..0c13cb2ef 100644 --- a/src/data/roadmaps/typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md +++ b/src/data/roadmaps/typescript/content/undefined@Sa6IZtM4XJstultz-pbh0.md @@ -20,4 +20,4 @@ function doSomething(x: string | null) { Learn more from the following links: -- [@article@null and undefined](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#null-and-undefined) +- [@official@null and undefined](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#null-and-undefined) diff --git a/src/data/roadmaps/typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md b/src/data/roadmaps/typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md index 557759ecb..674c90bb7 100644 --- a/src/data/roadmaps/typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md +++ b/src/data/roadmaps/typescript/content/union-types@5z5w3yv1HbOpMlzEd4Iot.md @@ -12,4 +12,4 @@ function combine(input1: string | number, input2: string | number) { Learn more from the following links: -- [@article@Union Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) +- [@official@Union Types in TypeScript](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) diff --git a/src/data/roadmaps/typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md b/src/data/roadmaps/typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md index 3aa9a2602..75b3e3ed6 100644 --- a/src/data/roadmaps/typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md +++ b/src/data/roadmaps/typescript/content/unknown@O2TYbd9i_OQwQk2dKh-ly.md @@ -15,4 +15,4 @@ function f2(a: unknown) { Learn more from the following links: -- [@article@Unknown Type in TypeScript](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type) +- [@official@Unknown Type in TypeScript](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type) diff --git a/src/data/roadmaps/typescript/content/utility-types@LSwUHfalnk5MgHt21PANb.md b/src/data/roadmaps/typescript/content/utility-types@LSwUHfalnk5MgHt21PANb.md index 605bd2317..531994a9a 100644 --- a/src/data/roadmaps/typescript/content/utility-types@LSwUHfalnk5MgHt21PANb.md +++ b/src/data/roadmaps/typescript/content/utility-types@LSwUHfalnk5MgHt21PANb.md @@ -11,6 +11,6 @@ TypeScript provides several utility types that can be used to manipulate and tra Learn more from the following links: -- [@article@TypeScript - Utility Types](https://www.typescriptlang.org/docs/handbook/utility-types.html) +- [@official@TypeScript - Utility Types](https://www.typescriptlang.org/docs/handbook/utility-types.html) - [@article@TypeScript Utility Types Guide](https://camchenry.com/blog/typescript-utility-types) - [@article@TypeScript Utility Types: Key Concepts And Best Practices](https://marketsplash.com/tutorials/typescript/typescript-utility-types/) diff --git a/src/data/roadmaps/typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md b/src/data/roadmaps/typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md index 4ca26f384..d0e3ad6fc 100644 --- a/src/data/roadmaps/typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md +++ b/src/data/roadmaps/typescript/content/void@yLlQg7BF--ZwRHbXBWfOi.md @@ -13,4 +13,4 @@ In JavaScript, a function that doesn’t return any value will implicitly return Learn more from the following links: -- [@article@void - TypeScript Docs](https://www.typescriptlang.org/docs/handbook/2/functions.html#void) +- [@official@void - TypeScript Docs](https://www.typescriptlang.org/docs/handbook/2/functions.html#void)