Merge branch 'version-2-contained-operators-test' of https://github.com/Frooodle/Stirling-PDF into version-2-contained-operators-test
This commit is contained in:
@@ -23,5 +23,5 @@ export const JoiPDFFileSchema = Joi.custom((value: Express.Multer.File[] /* <- a
|
||||
}, "pdffile validation");
|
||||
|
||||
function isPdfFileArray(value: any): value is PdfFile[] {
|
||||
return value.every((e) => e instanceof PdfFile)
|
||||
}
|
||||
return value.every((e: PdfFile) => e instanceof PdfFile)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user