Question · JavaScript and TypeScript course · Module 6: TypeScript Basics

DefinitelyTyped (@types/*)

How do you install TypeScript types for the Express library from the DefinitelyTyped repository?

Answer options

  • npm install express-types
  • npm install --save-dev @definitelytyped/express
  • npm install --save-dev @types/express
  • npm install typescript-express

You can check the correct answer by solving this task in the CodeWorlds game.