Comparing version 2.0.0-alpha.7 to 2.0.0-alpha.8
@@ -6,3 +6,3 @@ /** | ||
* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string. | ||
* @param {string} body - The function body as a string. | ||
* @param {string} [body] - The function body as a string. | ||
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values. | ||
@@ -22,3 +22,3 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array. | ||
*/ | ||
export function createFunction(name: string, aArgs?: (string | string[]) | undefined, body: string, scope?: (string[] | any), values?: any[], ...args: any[]): Function; | ||
export function createFunction(name: string, aArgs?: (string | string[]) | undefined, body?: string, scope?: (string[] | any), values?: any[], ...args: any[]): Function; | ||
export default createFunction; |
@@ -25,3 +25,3 @@ "use strict"; | ||
* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string. | ||
* @param {string} body - The function body as a string. | ||
* @param {string} [body] - The function body as a string. | ||
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values. | ||
@@ -28,0 +28,0 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array. |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/snowyu/util-ex.js", | ||
"version": "2.0.0-alpha.7", | ||
"version": "2.0.0-alpha.8", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "Riceball LEE", |
@@ -18,3 +18,3 @@ import _createFunc from "./_create-function.js"; | ||
* @param {string|string[]=} [aArgs] - An array of argument names. or function body if it's string. | ||
* @param {string} body - The function body as a string. | ||
* @param {string} [body] - The function body as a string. | ||
* @param {(string[]|Object)} [scope] - An array of scope names, or an object with scope names as keys and their corresponding values as values. | ||
@@ -21,0 +21,0 @@ * @param {Array} [values] - An array of values corresponding to the scope names, if scope is an array. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211491