Fundamentos de TypeScript

1

¿Qué es TypeScript y por qué usarlo?

2

Instalación de Node.js y TypeScript CLI, configuración de tsconfig.json

3

Tipos primitivos: string, number, boolean, null, undefined de Typescript

4

Tipos especiales: any, unknown, never, void de TypeScript

5

Arrays, Tuplas, Enums en TypeScript

Funciones e Interfaces

6

Declaración de funciones, tipado de parámetros y valores de retorno

7

Parámetros opcionales, valores por defecto y sobrecarga de funciones

8

Creación y uso de interfaces de TypeScript

9

Propiedades opcionales, readonly, extensión de interfaces en TypeScript

Clases y Programación Orientada a Objetos

10

Creación de clases y constructores En TypeScript

11

Modificadores de acceso (public, private, protected) en Typescript

12

Uso de extends, sobreescritura de métodos en TypeScript

13

Introducción a Genéricos en Typescript

14

Restricciones con extends, genéricos en interfaces

Módulos y Proyectos

15

Importación y exportación de módulos en TypeScript

16

Agregando mi archivo de Typescript a un sitio web

17

Configuración de un proyecto Web con TypeScript

18

Selección de elementos, eventos, tipado en querySelector en TypeScript

19

Crear un proyecto de React.js con Typescript

20

Crea un proyecto con Angular y Typescript

21

Crea una API con Typescript y Express.js

Conceptos Avanzados

22

Introducción a types en TypeScript

23

Implementación de Decoradores de TypeScript

24

Async/await en Typescript

25

Pruebas unitarias con Jest y TypeScript

26

Principios SOLID, código limpio, patrones de diseño en Typescript

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

2 Días
17 Hrs
53 Min
39 Seg
Curso de TypeScript

Curso de TypeScript

Amin Espinoza

Amin Espinoza

¿Qué es TypeScript y por qué usarlo?

1/26
Resources
Transcript

The evolution of JavaScript has been remarkable since its inception, and over time the need arose for tools to complement its capabilities. TypeScript emerges as a robust solution for developers seeking greater security in their applications. This language, which acts as a type auditor for JavaScript, allows errors to be detected before code execution, providing an additional layer of protection that is invaluable in complex and scalable projects.

What is TypeScript and why is it important?

TypeScript functions as a type auditor for JavaScript applications, running before the code is put into action. This fundamental feature allows you to identify potential problems at the development stage, avoiding errors that could manifest themselves during execution.

For example, while in JavaScript you can perform operations such as adding a string variable (name) with a numeric variable (age) without receiving prior warnings, TypeScript will alert you to this type incompatibility:

// In JavaScript (without warnings)let name = "John";let age = 20;let result = name + age; // Concatenation: "John20"
// In TypeScriptlet name: string = "John";let age: number = 20;let result: string = name + age; // Error: Type 'number' is not assignable to type 'string'.

This ability of TypeScript to detect inconsistencies in data types prevents common errors that might go unnoticed in pure JavaScript, significantly improving code quality and maintainability.

When should you learn TypeScript?

TypeScript is not recommended as a first programming language. Ideally, you should have previous JavaScript experience before delving into TypeScript, as the latter builds on the fundamentals of the former.

If you already have experience with JavaScript, learning TypeScript can be a rewarding experience which:

  • Improves early bug detection
  • Facilitates code maintenance on large projects
  • Provides better implicit documentation across types
  • Improves the development experience with more accurate auto-completion

The history and evolution of JavaScript

JavaScript will be 20 years old in December 2025, and during this time it has undergone numerous evolutions. For more than a decade, it remained the world's most widely used programming language, until Python and the rise of artificial intelligence displaced it from that position.

What started as a simple scripting language for adding basic functionality to websites grew so rapidly that its structural development could not keep pace with its adoption. This gap between growth and readiness is precisely where TypeScript finds its raison d'être.

TypeScript's purpose in modern development

TypeScript was designed specifically to create more robust and scalable applications, addressing the limitations that JavaScript presented in these respects. By providing a static type system, TypeScript allows developers to:

  • Define clear data structures
  • Document interfaces and contracts between components
  • Detect inconsistencies before execution
  • Facilitate safe refactorings

TypeScript represents a natural evolution for JavaScript developers looking to take their skills to the next level, especially when working on large-scale projects or in large teams where code clarity is crucial.

Transitioning from JavaScript to TypeScript can positively transform your experience as a developer, providing you with tools that make building complex applications safer and more predictable. If you already have experience with JavaScript, exploring TypeScript could be the next logical step in your professional growth.

Contributions 8

Questions 1

Sort by:

Want to see more contributions, questions and answers from the community?

Revisando notificaciones y encuentro esta joya
Estaba en la 5ta clase del curso con Nico ayer y hora toca volver a comenzar el curso de TypeScript
Estoy haciendo el curso de programación básica y aún no estoy muy avanzado en JavaScript, me recomiendan hacer este curso igualmente? Me parece interesante TypeScript, ya había escuchado algo de él...
Emocionado por este curso recien renovado, siento que TypeScript va a ampliar mi reportorio de conocimientos y abrira mi mente a nuevas oportunidades y proyectos interesantes y mas robustos
Justo estaba tomando el curso anterior de TS y veo este recién actualizado. Solo por el temario se ve más conciso. Vamos a aprender TS!
Justo iba a comenzar los cursos de Typescript y me encuentro con que lo han renovado!! Que hermosoo
El anterior curso fue una maravilla del gran Nico. Vamos por este a ver qué nuevas actualizaciones trae y a seguir aprendiendo.
Que buena sorpresa