Typescript complaints about this line because `scanState.mostRecent.timestamp` is Date object and `Date.parse` expects a string as argument. We can use `getTime()` and obtain the same result.  ```js  ? scanState?.mostRecent?.timestamp.getTime()  ```