Put in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice

Review: Order: Mapped Type

Arrange the elements of a mapped type in the correct order:

Items to put in order

  • }
  • readonly [K in keyof T]
  • : T[K]
  • type Readonly<T> = {

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