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

The Omit Type

What does the Omit<T, K> type do in TypeScript?

Answer options

  • Marks properties as deprecated
  • Creates a new type from T omitting the properties listed in K
  • Hides properties from other modules
  • Removes properties from an existing object

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