
Begin the programming fundamentals in TypeScript with a practical, hands-on introduction. The instructor emphasizes reporting, a polling environment, and practicing with the team.
This article explains what is TypeScript in relation to JavaScript. And what are the enhanced features present in TypeScript as compared to JavaScript.
Explore how TypeScript extends JavaScript as a superset, outlining its compilation to JavaScript and the extra features beyond standard JavaScript.
Learn how TypeScript acts as a transpiler that compiles to JavaScript, generating plain JavaScript code after enhancing features for execution on any JavaScript platform.
Explore the TypeScript editor in Visual Studio Code, offering strict typing and strong JavaScript support. See how this environment handles multiple languages and essential tools for test projects.
Set up a TypeScript project by creating and opening a folder in Windows with Visual Studio Code, then initialize via command prompt and configure the target version.
Explore the number type in TypeScript, including integers and decimals, binary representation basics, arithmetic operations, maximum values, and big integers.
Learn how numbers limit precision beyond the maximum safe value, why big integers are needed, and how comparisons work between number and BigInt while arithmetic between them isn't supported.
Strings are alpha-numeric values. All the things that you can do with strings in JavaScript, you can also do it with TypeScript
There is a string type with small s and also with capital S. Small s string type is a primitive type where as String type with capital S is a wrapper object for string type with small s.
Template String are string values contained within back ticks and can contain certain expressions or variables within strings.
Explore a TypeScript bank profit calculator that models monthly, quarterly, semi-annual, and annual profits, computes profits from a given balance, and outputs results with console logs.
Explore how if else conditions in TypeScript check conditions to choose true or false paths and control flow through comparisons and simple variable examples.
Learn how the while loop repeats a task based on a condition rather than a fixed count, contrasting it with a for loop using simple input and termination examples.
Refactor the bank profit calculator in the TypeScript course by consolidating profit rate logic into a single property and enabling monthly, quarterly, semi-annually, and yearly calculations via a loop.
Master the basics of conditions and value switch statements in TypeScript, reinforce learning with practical examples, and preview upcoming modules in this programming fundamentals course.
Learn advanced types in TypeScript, including any, undefined, void, and never, plus type alias, type guard, and union and intersection types, with a module project.
Explore type alias in TypeScript, which gives a new name to an existing type without creating a new type. Use aliases for numbers, strings, and data like objects and interfaces.
Learn how union types in TypeScript let a variable hold multiple data types (number, string, boolean) and how intersection types require all types together, often producing never for incompatible primitives.
Describing types of functions in TypeScript
Describing named functions in TypeScript and its implementation and call.
Learn anonymous functions in TypeScript by assigning unnamed functions to variables, passing them as arguments, and invoking them to perform operations like addition with console output.
Explore arrow functions in TypeScript, transforming traditional function syntax into concise one-liners that omit brackets and the return keyword while preserving the same behavior and arguments.
Explore the four parameter types in functions, including required, optional, and default parameters, and examine them one by one.
Explore required parameters in TypeScript by examining a barometer function that demands multiple arguments. Learn how omitting a required parameter triggers an error, reinforcing proper function calls.
Explore optional parameters in TypeScript by using a question mark. Check for undefined to return the first value, and use a second value when provided.
Explore rest parameters in TypeScript by collecting a varying number of arguments into a single rest array and processing them as a string or other types.
Convert a bank profit calculator to a functional TypeScript approach by defining a bank profit function with typed parameters, then reuse it for multiple accounts.
Explore a complex TypeScript geometrical drawings example using anonymous and named functions to draw circle, square, rectangle, and triangle in a console app, with required, default, and optional parameters.
Explore how programming treats everything as objects with properties, attributes, and methods, and how constructors create objects within classes from blueprints.
Explore access modifiers in classes and objects, distinguishing public, protected, and private properties through a student and chemistry student example, and learn how default public access affects object visibility.
Explore access modifiers in TypeScript by applying public, protected, and private to class methods, controlling visibility inside and outside the class with practical method examples.
Illustrates the static keyword in TypeScript, showing that static properties and methods belong to the class rather than instances, providing a single class-level value accessible via the class.
Learn how generics in TypeScript let you write a single, reusable function that works with strings, numbers, and objects while maintaining type checking.
Welcome to the TypeScript Programming course
If you are a new to programming or an experienced programmer looking to enhance your knowledge of TypeScript or to learn TypeScript from scratch, you've come to the right place. This course is your one-stop-shop for all things related to TypeScript. Here's what we'll cover:
How to set up a development environment for TypeScript.
Type System of TypeScript.
Conditionals and Control flow of the programs in TypeScript.
More advanced types specific to TypeScript.
Functions in TypeScript.
Object oriented programming in TypeScript
And all the related coding examples and notes.
Generics in TypeScript
Additionally, think of this course as the jumping-off point for your exploration into TypeScript. The coding examples used in this course are improved based on the concepts module by module in each module making it more related and easy to understand the need of the enhanced and the feature.
There are six sections in the course in total.
The first section which is a starter will be helping to understand the need and benefits of TypeScript and also it will help to get hands on with setting up the development environment for the TypeScript projects.
Second section describes in detail the powerful type system of the TypeScript in which we learn to use different data types in TypeScript.
Third section introduces you to the fundamental conditional controls and flow of controls including if else, switch statement, looping etc.
Fourth section explains us some more advanced data types that are specific to TypeScript and enhances the power of programming and we are able to write more robust applications.
Fifth section explains more fun part the different types of functions and different related features to that concepts.
Sixth part gives more advanced knowledge of Object orientation, interfacing, patterns, generics etc.
All these sections contains related code examples and notes etc.