Completed
Type Annotation & Type Inference
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
TypeScript Tutorial for Beginners - Learn TypeScript for Angular
Automatically move to the next video in the Classroom when playback concludes
- 1 Course Introduction
- 2 TypeScript Demo Overview
- 3 Get the Full Source Code from Github
- 4 CHAPTER 1: Installing Dependencies
- 5 Installing Visual Studio Code
- 6 Project overview
- 7 Installing Node & NPM
- 8 Downloading TypeScript
- 9 Other dependencies like ts-loader, Webpack
- 10 Creating tsconfig.json file
- 11 Execute your First TypeScript Code
- 12 Configuration options in tsconfig.js file
- 13 'target', 'module', 'sourceMap',
- 14 'outDir', 'strict,' 'esModuleInterop', 'watch'
- 15 Debug TS code using Chome Developer Tool
- 16 Configuration Inheritance in TypeScript
- 17 Creating base configuration file
- 18 Creating folder-level configuration file
- 19 Configuring Webpack for TypeScript
- 20 webpack.config.js file walkthrough
- 21 Summary
- 22 CHAPTER 2: Built in Types - Overview
- 23 Built-in data types
- 24 JavaScript Hoisting
- 25 Using var, let & const to declare variables
- 26 var vs. let vs.const
- 27 Type Annotation & Type Inference | String Templates
- 28 Using String Literals
- 29 Type Annotation & Type Inference
- 30 Defining Multiple Types Union type Variable
- 31 Control flow based analysis
- 32 What is strictNullChecks compiler option?
- 33 Using Null and Undefined types
- 34 Type assertion
- 35 Defining variable with ‘any’ type
- 36 Summary
- 37 CHAPTER 3: Using Type Annotation with Functions - Overview
- 38 Adding Type Annotations with Function
- 39 —noImplicitAny compiler option
- 40 Default & Optional Parameters
- 41 What is arrow function? Lambda Function?
- 42 Arrow function with no parameter
- 43 What is a function type?
- 44 Defining function as a type
- 45 Summary
- 46 CHAPTER 4: Custom Types in TS | Interface & Class - overview
- 47 Interface vs Class
- 48 What is an interface? Syntax.
- 49 Structural type system
- 50 Optional Properties of Interface
- 51 Class in TS
- 52 Getter and Setter - accessor methods
- 53 01:41:46 Readonly property specifier
- 54 Hard Private & Soft Private fields
- 55 Class Extending class
- 56 Class Implementing Interface
- 57 Static Members
- 58 Understanding Constructors
- 59 super constructors
- 60 Use triple-slash directive
- 61 Using ‘outFile’ compiler configuration option
- 62 Summary
- 63 CHAPTER 5: Modules in Typescript - Overview
- 64 Supporting Technologies to Implement Modules
- 65 Importing & Exporting Modules
- 66 ‘export’ statement
- 67 Importing a module
- 68 Relative import vs. non-relative imports
- 69 Module Resolution Strategies
- 70 CLASSIC vs. NODE Relative & Non relative moduleResolution option
- 71 How does TS find a module - Trace Resolution Demo
- 72 Using baseUrl
- 73 Configuring Module Bundler - webpack
- 74 Summary
- 75 CHAPTER 6: Type Declaration files
- 76 DefinitelyTyped Github Repository
- 77 Summary