Frontendmasters Courses
891 subscribers
1 photo
7.9K videos
2.04K links
#frontendmasters courses

source: https://frontendmasters.com/courses

Channel for automated uploaded courses from frontendmasters.com

Our Channels:
@vue_courses
@vue_updates

Contacts:
@Black_Yuzia
Download Telegram
Media is too big
VIEW IN TELEGRAM
23. Utility Types
Mike introduces the concept of utility types including the "extract" and "exclude" utility types. The "extract" utility type allows you to obtain a subpart of a type that matches another type, while the "exclude" utility type allows you to obtain a subpart of a type that does not match another type.
#lesson
Media is too big
VIEW IN TELEGRAM
24. Inference with Conditional Types
Mike explains how to use the "infer" keyword to extract a specific type from a larger type within a condition. A demonstration of how to use inference to extract the type of the first argument of a function is provided in this segment.
-
https://www.typescript-training.com/course/intermediate-v2/08-infer/
#lesson
Media is too big
VIEW IN TELEGRAM
25. infer Constraints
Mike discusses the TypeScript 5 feature of applying constraints to inferred type parameters and provides examples of using the "infer" keyword to extract specific types from tuples. How to express conditions and constraints on inferred type parameters, questions about rest arguments, and the use of underscores as placeholders are also covered in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
26. Utility Types Using infer
Mike continues the exploration of utility types and specifically discusses the "Parameters" utility type. The "Parameters" utility type extracts the types of the arguments of a function and returns them as a tuple. Other utility types such as ReturnType, InstanceType, ThisParameterType, and OmitThisParameter are also discussed.
#lesson
Media is too big
VIEW IN TELEGRAM
27. Record & Pick
Mike explains that mapped types are similar to array.map for types, where you can iterate over the names of fields in one type and produce another type that is transformed in some way. How to create a mapped type called "record" that specifies a set of keys for a type and the built-in type "pick", which allows you to generate a new object type by specifying the names of some fields on a value type is also covered in this segment.
-
https://www.typescript-training.com/course/intermediate-v2/09-mapped-types/
#lesson
Media is too big
VIEW IN TELEGRAM
28. Mapping Modifiers & Template Literal Types
Mike introduces mapping modifiers like `Partial`, `Required`, and `Readonly` which can be used to modify the properties of an object type. The use of template literal types to create new types by combining string literals and union types and examples of how to use mapping modifiers are also demonstrated in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
29. Filtering Properties
Mike discusses the concept of filtering properties and demonstrates two different approaches: one where the keys are filtered first and then mapped, and another where the keys are iterated over and filtered using a conditional type. The advantages of filtering the keys first and a syntax for filtering keys using a filtering expression before the right square bracket and casting are also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
30. Type Registry Exercise
Mike revisits an exercise from TypeScript Fundamentals. The exercise involves building a data layer that allows fetching records based on their name and ID. The concept of a data type registry and how to use a mapped type to make the fetch record function return a promise that resolves to the correct record type are also discussed.
-
https://www.typescript-training.com/course/intermediate-v2/10-type-registry-revisited/
#lesson
Media is too big
VIEW IN TELEGRAM
31. Variance over type Params
Mike discusses variance over type parameters using an example of a snack factory. They explain the concepts of covariance and contravariance and how they relate to subtyping relationships between different types. The instructor also demonstrates how to use the "out" and "in" keywords in TypeScript to describe covariance and contravariance respectively.
-
https://www.typescript-training.com/course/intermediate-v2/11-covariance-contravariance/
#lesson
Media is too big
VIEW IN TELEGRAM
32. Invariance & Bivariance
Mike merges the Producer and Packager interfaces together to demonstrate invariance, neither covariance nor contravariance. An example of a model displaying bivariance, where function types are interchangeable in both directions. The benefits of using variance hints in type checking and how it can improve performance in large projects are also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
33. Wrapping Up
Mike discusses the different courses that students can take after completing Intermediate TypeScript V2. They highlight the content and benefits of each course, and encourages students to continue their TypeScript learning journey to enhance their skills and take their code basis to the next level.
#lesson
Title: TypeScript 5+ Fundamentals, v4
Description: TypeScript adds a powerful type system to JavaScript, adding type aliases, union/intersection types, and generics. Migrate to TypeScript, enhancing code reliability and error detection in your codebase.
Link: https://frontendmasters.com/courses/typescript-v4/
Time: 5 hours, 12 minutes
Lessons: 34 / 34
Tags: #course #frontendmasters #720p
Media is too big
VIEW IN TELEGRAM
1. Introduction
Mike North provides an overview of what will be covered in the course and explains the importance of types in TypeScript and how it helps catch errors at compile time. The structure of the course and the topics that will be covered, including variables, types, generics, and more, are also discussed in this segment.
-
https://www.typescript-training.com/course/fundamentals-v4
#lesson
Media is too big
VIEW IN TELEGRAM
2. Workshop Setup
Mike demonstrates setting up the development environment by installing Volta, cloning the repo, and running Yarn to install the necessary dependencies. Additionally, the value of TypeScript in fullstack development and how it helps maintain type consistency between the backend and frontend is also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
3. Compiling TypeScript with TSC
Mike explains how the TypeScript CLI works and demonstrates it by using a Hello World TypeScript program. How the TypeScript compiler can target different language levels and generate different module formats is also discussed. Finally, the purpose of declaration files and how they allow developers to benefit from type information when using TypeScript is covered in this segment.
-
https://www.typescript-training.com/course/fundamentals-v4/03-variables-and-values/
#lesson
Media is too big
VIEW IN TELEGRAM
4. Variable Declarations & Inference
Mike discusses the use of variables and their types. The difference between `let` and `const` declarations, literal types, type annotations, the concept of sets, and how types represent sets of allowed values are covered. This segment concludes with an example of an implicit `any` type and how to use type annotations to provide explicit types.
-
https://www.typescript-training.com/course/fundamentals-v4/03-variables-and-values/
#lesson
Media is too big
VIEW IN TELEGRAM
5. Any & Type Casting
Mike discusses typecasting in TypeScript and explains how to cast values to different types using techniques such as assigning a value to a different type, using the "as" keyword, or casting to the "any" type. TypeScript will object to casting incompatible types and suggest using the "any" type as an intermediate step when necessary.
#lesson
Media is too big
VIEW IN TELEGRAM
6. Functions & Return Types
Mike explains how to add types to a TypeScript file and demonstrates adding type annotations to a function that takes two arguments and returns a number. The benefits of using TypeScript, such as catching type errors and improving code reliability, and the use of ESLint with TypeScript are also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
7. Objects & Property Types
Mike explains the concept of objects in JavaScript, how to define their types in TypeScript, and demonstrates how to create an object type and use it as a function argument. Optional properties, type guards, and how excess property checking prevents passing in unknown properties to an object are also covered in this segment.
-
https://www.typescript-training.com/course/fundamentals-v4/04-objects-arrays-and-tuples/
#lesson
Media is too big
VIEW IN TELEGRAM
8. Index Signatures
Mike discusses index signatures, introducing a use case where an object contains different phone numbers, including predefined and custom ones. How to define and use index signatures and conventions for accessing known properties and index fields are also covered in this segment.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
9. Array Types, Tuples & readonly
Mike discusses how TypeScript infers the type of array elements and how to define and use tuples. Using the `readonly` keyword to create immutable tuples and a discussion regarding the trade-offs of using tuples are also covered in this segment.
#lesson