mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
infer return type of functions
This commit is contained in:
@@ -5,7 +5,7 @@ import { generateBookedCalendar } from '../../helpers/ical'
|
||||
export default async function useHandler(
|
||||
req: NextApiRequest,
|
||||
res: NextApiResponse
|
||||
) {
|
||||
): Promise<void> {
|
||||
const { method } = req
|
||||
|
||||
switch (method) {
|
||||
|
||||
Reference in New Issue
Block a user