
Master the essentials of TypeScript quickly, using JavaScript fundamentals to add structure and clarity, in this beginner primer designed for fast, practical learning.
Download and unzip the course files on mac or windows, using seven zip if needed. Access the included offline regex practice app in the ref files folder.
Explore how TypeScript acts as a JavaScript superset that adds static types, interfaces, and decorators, compiled to ES5 JavaScript for browser compatibility.
Install node.js on macOS to run TypeScript, using the terminal to install and verify the version, and learn that Node.js enables server-side JavaScript via the V8 engine built with C++.
Learn how to install TypeScript on Windows by visiting the TypeScript website, installing Node.js, and verifying with node -v using Command Prompt or Git Bash.
Install typescript globally via npm, then use the tsc compiler from the command line to compile a ts file into plain JavaScript, exploring a simple class and a public property.
Target TypeScript files and compile them to JavaScript using WebStorm during development. Enable automatic compilation and file watching with tsc to streamline edits and IDE workflows.
Learn how to compile TypeScript to JavaScript using Visual Studio, including creating tsconfig, configuring the project, and using watch mode for automatic recompilation.
Learn to run TypeScript in an online editor playground, see how TypeScript adds features to JavaScript, and understand basic typing and runtime errors using browser-based examples and available documentation.
Learn how TypeScript uses types and type inference to catch errors before runtime, with static typing that infers string, number, and function types from initial values.
Explore how TypeScript automatically infers data types, enforces string, number, and boolean values, and uses let versus var to control scope while statically defining types for robust code.
Explore TypeScript types in this part 2 lecture, focusing on the any type, string and number types, and arrays to illustrate how types constrain values and guide coding.
Learn to define and enforce types in TypeScript by creating a simple function with typed parameters and a numeric return, ensuring inputs match numbers and catching type errors early.
Learn how to treat functions as types in TypeScript, enforce function signatures, and assign function types to variables to catch errors before runtime.
Explore object types in TypeScript by defining a vehicle object with properties like brand and engine type, and see how static typing constrains strings and numbers for safer code.
Learn to use union types in TypeScript and combine multiple types in one variable with the pipe symbol, including strings and numbers.
Define and use interfaces in TypeScript to describe data structures, enforce property types like brand and speed, and implement interfaces in objects with methods.
Learn to implement interfaces to a function in TypeScript by injecting an object, replacing any with a defined interface, and enforcing type safety through compilation.
Implement interfaces on a class in TypeScript by defining required properties and a method, then create a car object that logs its speed and brand.
Learn how interface inheritance works in TypeScript, extend interfaces, make fields optional, and override required properties to build flexible, strongly typed objects.
Learn to create a class in TypeScript by defining properties, constructors, and methods, using type annotations and access modifiers for clean, reusable code.
Explore class creation in TypeScript, define properties and methods, apply access modifiers (private, public, protected), use constructors with parameters, and instantiate objects while understanding how modifiers affect external access.
Learn class inheritance in TypeScript by extending a base building class, overriding methods, and using properties like windows and escalators, with steps on static members and prototypes.
Explore abstract classes in TypeScript by learning how to define an abstract base, extend it with concrete subclasses, and implement abstract methods while preventing direct instantiation.
Learn how generics in TypeScript empower functions and classes to accept and return data of any type using type parameters and angle bracket syntax.
Learn how to constrain generic type parameters in TypeScript with extends, ensuring parameters match string or number types across a class.
Learn how to create a namespace in JavaScript and TypeScript, explore scope and module concepts, and expose a display data function within a namespace.
Explore how to use namespaces in TypeScript and expose them with export. Learn to reference namespace data and functions, compile, and run in Node for outside access.
Discover how namespaces protect data from the global scope and organize code into modules. Learn to import a namespace into another file, reference its data, and compile it with TypeScript.
Create namespace aliases in TypeScript by using the import keyword to reference a display data function, then compile with node and practice foundational TypeScript concepts for app development.
Load and manage modules in the browser with a dynamic module loader. Use SystemJS to enable import and export workflows in a TypeScript setup.
Continue your path from JavaScript basics to latest features, then explore Angular, MongoDB, and Express on Node.js for server work, with guidance on next steps.
TypeScript is a superset of JavaScript, which means that is language that was created to add features to JavaScript. You might be asking yourself why it was created and why not just add those features directly to JavaScript.
Sometimes language foundations take time to implement features because the committee has to approve it, test and get feedback before requests are answered. The solution for that is to create another language that adds functionality to the language we need, and thats where TypesScript comes in.
TypeScript has many advanced features that plain JavaScript doesn't have yet but the good news is that we can start using it now since TypeScript compiles JavaScript ES5 which at this moment is the most compatible version of JavaScript for all browsers.
Most people that want to learn TypeScript its because they need the skills to use with some Frameworks like Angular.
My goal with this courses is just give your the fundamentals of the language, show you what TypeScript is and how to use it. We as developers don't have time neither can we afford to spend too much time on any technology.
Most people that want to learn TypeScript its because they need the skills to use with some Frameworks like Angular.