fix: missing express type annotation

This commit is contained in:
wancat committed 2024-03-28 21:28:18 +08:00
1 parent 432084cc66
commit eb106c020a
6 files changed
+22 -9

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { questList } from '../models/quests.js'
import { Request, Response } from 'express'
// eslint-disable-next-line import/prefer-default-export
import { questList } from '../models/quests.js'
export async function questListController(req: Request, res: Response) {
const quests = await questList()
quests.forEach((quest) => {