server: Fix build errors after updating to latest TypeScript

This commit is contained in:
Elian Doran
2024-07-16 21:43:04 +03:00
parent 9fdb7b29de
commit c0b3c8496e
12 changed files with 17 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ import etapiTokenService = require('../services/etapi_tokens');
import config = require('../services/config');
import { NextFunction, Request, RequestHandler, Response, Router } from 'express';
import { AppRequest, AppRequestHandler } from '../routes/route-interface';
import { ValidatorMap } from './etapi-interface';
const GENERIC_CODE = "GENERIC";
type HttpMethod = "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head";