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
11. null & Non-null Assertion
Mike discusses the difference between null and undefined and introduces several TypeScript features and operators that can be used to handle nullish values, such as the non-null assertion operator. Examples and the potential use cases and limitations of these operators are also covered in this segment.
-
https://www.typescript-training.com/course/intermediate-v2/04-nullish-values/
#lesson
Media is too big
VIEW IN TELEGRAM
12. Definite Assignment Assertion
Mike discusses the definite assignment operator and explains how to use the exclamation mark (!) to assert that a variable will be assigned a value before it is used. A question about using the declare keyword instead of the exclamation mark is also covered in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
13. Optional Chaining & Nullish Coalescing
Mike explains the concept of optional chaining and demonstrates how to access nested properties using optional chaining. The concept of nullish coalescing and how it can be used to set default values for variables is also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
14. Modules & CJS Interop Overview
Mike discusses the JavaScript ecosystem's transition to using modern JavaScript modules directly in Node.js and browsers. Topics such as importing and exporting modules, importing types, CommonJS Interop, native ES module support, and importing non-TypeScript things are covered in the Modules & CJS Interop section.
-
https://www.typescript-training.com/course/intermediate-v2/05-modules/
#lesson
Media is too big
VIEW IN TELEGRAM
15. ES Module Imports & Exports
Mike dives into ES module imports and exports, exploring examples of named imports and exports, emphasizing the benefits of organizing code into multiple files. The example covers named imports involving consuming named exports, as well as consuming default imports.
#lesson
Media is too big
VIEW IN TELEGRAM
16. CommonJS Interop
Mike explains the differences between CommonJS modules and ECMAScript modules and demonstrates how to import and export modules using both styles. Potential issues and limitations of using CommonJS modules and some alternative solutions are also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
17. Native ES Modules
Mike discusses that TypeScript supports native ES modules and introduces the different file extensions that can be used for ES modules and CommonJS modules. How to specify the module type in the package.json file and how to import a CommonJS module in TypeScript is also demonstrated in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
18. Importing Non-TypeScript Files
Mike discusses how to import non-TypeScript files, such as images or JSON, in TypeScript when using a bundler like Webpack or Parcel. How to create a global declaration file to resolve import errors for non-TypeScript files and examples of importing image files and URL modules are also covered in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
19. Generic Constraints
Mike reviews a TypeScript Fundamentals exercise that involved converting an array of objects to a dictionary representation and demonstrates how to implement this conversion without using generics. The use of type parameter constraints to regain flexibility while still maintaining a minimum requirement on the type parameter is also discussed in this segment.
-
https://www.typescript-training.com/course/intermediate-v2/06-type-param-scopes-and-constraints/
#lesson
Media is too big
VIEW IN TELEGRAM
20. satisfies
Mike demonstrates how to use "satisfies" to retain the most specific type while still satisfying a given interface. The use of the "extends" keyword in TypeScript and how it is used to specify subtyping relationships between types is also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
21. Scopes and TypeParams
Mike discusses scopes and type parameters and explains how type parameters work similarly to variables in terms of scoping, using examples of functions and tuples. Best practices for using type parameters, emphasizing the importance of specifying constraints in the simplest way possible to maximize the flow of type information, are also discussed in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
22. Ternary Operators & Expressing Conditions
Mike introduces conditional types as a way to express type information similar to a ternary operator. How to define a conditional type that evaluates to different types based on a condition, and examples of using conditional types with literal types and union types are also covered in this segment.
-
https://www.typescript-training.com/course/intermediate-v2/07-conditional-types/
#lesson
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