Skip to content

Commit dd49145

Browse files
authored
Merge pull request #3952 from shu1513/patch-19
Update part9c.md
2 parents bd51f89 + 44f5ae2 commit dd49145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/9/en/part9c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,10 +839,10 @@ We could and propably should give a proper type as the type variable. In our cas
839839
840840
```js
841841
import { Response } from 'express'
842-
842+
import { NonSensitiveDiaryEntry } from "../types";
843843
// ...
844844

845-
router.get('/', (_req, res: Response<DiaryEntry[]>) => {
845+
router.get('/', (_req, res: Response<NonSensitiveDiaryEntry[]>) => {
846846
res.send(diaryService.getNonSensitiveEntries());
847847
});
848848

0 commit comments

Comments
 (0)