Put in order · JavaScript and TypeScript course · Module 7: Advanced TypeScript

Decorator Configuration in tsconfig

Arrange the tsconfig.json configuration that enables the legacy decorators mode with metadata (needed e.g. by NestJS):

Items to put in order

  • true,
  • "emitDecoratorMetadata": true
  • "experimentalDecorators"
  • :

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