refactor: use type imports

This commit is contained in:
Carlos Valente
2025-01-24 17:03:34 +01:00
committed by Carlos Valente
parent 960f0322ad
commit b4caec0644
25 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { Request, Response, NextFunction } from 'express';
import type { Request, Response, NextFunction } from 'express';
import { body, param, validationResult } from 'express-validator';
import { ensureJsonExtension } from '../../utils/fileManagement.js';
import sanitize from 'sanitize-filename';
import { ensureJsonExtension } from '../../utils/fileManagement.js';
/**
* @description Validates request for a new project.