TypeScript (TS1)

Programming, JavaScript

This course gives a complete overview of TypeScript, showing how easily you can migrate from JavaScript while keeping backward compatibility. It explains why TypeScript speeds up refactoring and helps large teams manage complex codebases reliably.

Hands-on labs cover the Node.js environment, editor setups and compilation configuration, plus browser and Node debugging. Each module uses practical use cases you keep after the course to review and reuse later.

Location, current course term

Contact us

Custom Customized Training (date, location, content, duration)

The course:

Hide detail
  • Introduction to TypeScript
    1. Why TypeScript
    2. Installation
    3. Editors
    4. Source and output configuration
    5. What are declaration files and source maps
    6. Hello World
    7. Debugging TypeScript in the browser and Node.js
    8. TypeScript Playground
  • ES6+ syntax
    1. var, let, const declarations
    2. Arrow functions
    3. Parameter types and default values
    4. Passing functions as arguments
    5. Return types
    6. Rest parameters and spread syntax
    7. The `this` context
  • Basic types in TypeScript
    1. Primitive/basic types
    2. any, unknown, never types
  • Class syntax extensions beyond ES6
    1. Instance and static class members
    2. Inheritance
    3. Access modifiers
    4. Constructor syntax
    5. Getters and setters
    6. The `abstract` modifier
    7. Calling parent class members
  • Typing objects
    1. Property modifiers
    2. The `readonly` modifier
  • Interfaces
    1. Interface syntax options in TS
    2. Extending interfaces from classes and why it matters
  • Enums
    1. Purpose and use of enums and flag types
    2. Bitwise representation for multiple states in one value
    3. Checking flag presence with bitwise operations
  • Custom types and Tuples
    1. Tuples
    2. Custom/type aliases
    3. Typing arrays and dynamic objects
  • Modules and namespaces
    1. ES6 module syntax options
    2. import, export, export default syntax
    3. namespace syntax options
    4. Module loading strategies by application type
  • Other TypeScript features
    1. Union types
    2. Intersection types
    3. Decorators
    4. Triple-slash directives
    5. JSX
    6. keyof and typeof operators
    7. Indexed access types
    8. Conditional and mapped types
    9. Get array element type
    10. Template literal types
  • Generic types
    1. Why generics matter (introductory contact)
    2. Generic classes
    3. Generic functions
    4. Constraining generic types
    5. Types based on previous input values
    6. Types from a type map
    7. Types derived from keys of a previous input collection
    8. Additional generic syntax options
  • Asynchronous code
    1. The Promise type — what it's for
    2. Writing async code with async/await
    3. Converting callback code to Promises
    4. Handling async exceptions
    5. Awaitable semaphores and mutexes
  • Declaration files
    1. Ambient context in source code
    2. declare syntax options
    3. Conditional types with extends and infer
    4. Types derived from function or constructor arguments
    5. Hybrid types
  • Advanced configuration
    1. Defining sources with include/exclude
    2. Implicit this/any
    3. Strict mode
    4. Iterating collections like Map and Set
    5. External and custom type definition files
    6. Merging type definitions
    7. Utility functions for type manipulation
  • Migration to TypeScript
    1. Incremental upgrade: older JS and TS together
    2. Defining types for existing JS libraries and classes
Assumed knowledge:
Familiarity with OOP in JavaScript or other languages and basic HTML/CSS; knowledge of generics is a plus.
Recommended previous course:
Advanced JavaScript and Introduction to Node.js (JVS2)
Schedule:
3 days (9:00 AM - 5:00 PM )
Language:

Vybrané zákaznické reference

CYRRUS, a.s., Luboš F.
TypeScript ( TS1)
"bez prechozich znalosti TS je to opravdu tezke, ale i presto myslim ze jsem se hodne priucil a ted je na me v tom pokracovat dale a zapojit to do praxe... skolitele hodnotim na 1!"