Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 277 Bytes

File metadata and controls

8 lines (6 loc) · 277 Bytes

Problem

In app.ts

  • Create a interface to represent todoItems
  • Represent hard-coded status property to enum
  • Apply defined types into parameters and return values of functions, addTodoItem and getnextId
  • Also introduce generic parameter for getNextId function