mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
refactor: small type improvements (#759)
This commit is contained in:
@@ -255,7 +255,7 @@ export const validateProjectCreate = [
|
||||
*
|
||||
*/
|
||||
export const validateProjectFiles = (projectFiles: { filename?: string; newFilename?: string }): Array<string> => {
|
||||
const errors = [];
|
||||
const errors: string[] = [];
|
||||
|
||||
if (projectFiles.filename) {
|
||||
const projectFilePath = join(uploadsFolderPath, projectFiles.filename);
|
||||
|
||||
Reference in New Issue
Block a user