Index

  • What is it? Reasons?
  • Setup tsconfig, eslint, react. Muerte a TSLINT
  • ES6?
  • Basic Types: enum, void, 
  • Functions
  • Classes and interfaces?
  • Migrating from JS to TS
  • Type Lookup
  • Using Third-Party JavaScript
    when it Comes with Type Declarations
    when Has Type Declarations on DefinitelyTyped
    when Doesn’t Have Type Declarations
  • Type Operators

React TS

  • Bye to PropTypes
  • tsx
  • Decorators

WIFI: Palet

User & Pass:

 

incompany2019

title && <h1>Typescript</h1>

React Canarias

ismael@woonivers.com

Advanced TS

 

  • Design Patterns
    • Singletones
    • Factories
    • ...

Type Operators

Scoped Declarations

Migrating from JS to TS

  • Add TSC to your project.

  • Start typechecking your existing JavaScript code.

  • Migrate your JavaScript code to TypeScript, a file at a time.

  • Install type declarations for your dependencies, either stubbing out types for dependencies that don’t have types or writing type declarations for untyped dependencies and contributing them back to DefinitelyTyped.2

  • Flip on strict mode for your codebase.

bit.ly/reactcanarias

GRACIAS !!

Typescript

By sejas

Typescript

  • 93