Update function type names

This commit is contained in:
Simon Larsen
2024-02-27 15:17:39 +00:00
parent 50770eb6e8
commit 31875081e5
87 changed files with 296 additions and 290 deletions

View File

@@ -10,7 +10,7 @@ import Sleep from 'Common/Types/Sleep';
import Typeof from 'Common/Types/Typeof';
import { JSONValue } from 'Common/Types/JSON';
import logger from 'CommonServer/Utils/Logger';
import { ExpressAPIFunctionType } from 'CommonServer/Types/FunctionTypes';
import { ExpressAPIFunction } from 'CommonServer/Types/Functions';
const router: ExpressRouter = Express.getRouter();
@@ -36,7 +36,7 @@ router.post(
}
);
const returnResponse: ExpressAPIFunctionType = async (
const returnResponse: ExpressAPIFunction = async (
req: ExpressRequest,
res: ExpressResponse,
next: NextFunction