Commit 5e7a81be by Beebuddy Builder

add return type

1 parent e50bedcd
Showing with 4 additions and 4 deletions
...@@ -56,14 +56,14 @@ export class ZipUtils { ...@@ -56,14 +56,14 @@ export class ZipUtils {
* @param {String} zipFileName * @param {String} zipFileName
* @returns {String} * @returns {String}
*/ */
static async zip(sourcePath,fromFloderName, destinationFolder, zipFileName) {} static async zip(sourcePath,fromFloderName, destinationFolder, zipFileName):string {}
/** /**
* @description ZipUtils.unzip("/tmp/myzip.zip",/tmp/output) * @description ZipUtils.unzip("/tmp/myzip.zip",/tmp/output)
* @param {String} zipFilePath * @param {String} zipFilePath
* @param {String} extractToPath * @param {String} extractToPath
*/ */
static async unzip(zipFilePath,extractToPath){} static async unzip(zipFilePath,extractToPath):string{}
} }
......
...@@ -56,14 +56,14 @@ export class ZipUtils { ...@@ -56,14 +56,14 @@ export class ZipUtils {
* @param {String} zipFileName * @param {String} zipFileName
* @returns {String} * @returns {String}
*/ */
static async zip(sourcePath,fromFloderName, destinationFolder, zipFileName) {} static async zip(sourcePath,fromFloderName, destinationFolder, zipFileName):string {}
/** /**
* @description ZipUtils.unzip("/tmp/myzip.zip",/tmp/output) * @description ZipUtils.unzip("/tmp/myzip.zip",/tmp/output)
* @param {String} zipFilePath * @param {String} zipFilePath
* @param {String} extractToPath * @param {String} extractToPath
*/ */
static async unzip(zipFilePath,extractToPath){} static async unzip(zipFilePath,extractToPath):string{}
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!