Interfaces
8 min · TypeScript
Describe object shapes with interfaces — typed keys instead of numbered positions.
TypeScript · Interfaces0/5 cleared
Enemy 1 of 5
An interface names the keys and types an object should have. Values are looked up by key with dot notation.
You
Kernel Hellhound
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada