mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
fix: missing express type annotation
This commit is contained in:
1 parent
432084cc66
commit
eb106c020a
6 files changed
+22
-9
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user