Programming Languages

What is the purpose of the `interface` keyword in TypeScript?

Medium
2
Added
The `interface` keyword is used to define a contract for objects. It specifies the structure that an object should have.