update types

This commit is contained in:
Benjamin Toby
2024-10-11 10:26:00 +01:00
parent d9b9076bb2
commit 11a4c1f4d9
8 changed files with 104 additions and 94 deletions
+1 -10
View File
@@ -1,12 +1,3 @@
/**
* @typedef {{
* imageBase64: string,
* imageBase64Full: string,
* imageName: string,
* imageSize: number,
* }} FunctionReturn
*/
/**
* ==============================================================================
* Main Function
@@ -19,7 +10,7 @@
* imagePreviewNode?: HTMLImageElement,
* }} params - Single object passed
*
* @returns { Promise<FunctionReturn> } - Return Object
* @returns { Promise<import("../../types/general.td").ImageInputFileToBase64FunctionReturn> } - Return Object
*/
module.exports = async function imageInputFileToBase64({
imageInputFile,