I have an object that I am trying to cast from my webapi call.

So lets say this is the data from the webapi

```
let userTestStatus: { id: number, name: string }[] = [
    { "id": 0, "name": "Available", "date" : "01/01/2001" },
    { "id": 1, "name": "Ready", "date" : "01/01/2001" },
    { "id": 2, "name": "Started", "date" : "01/01/2001" }
];

```

This is my typescript Class. As you can see there is no date property

```
export myClass{
  id: number;
   name: string;
}

```

When the object is converted the date property is there even though it doesn't exist in my class. How can I get typescript to ignore properties that do not exist in the class?