custom-functions-metadata
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -430,4 +430,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
} | ||
resultType = getParamType(returnTypeFromJSDoc, extra, enumList); | ||
resultDim = getParamDim(returnTypeFromJSDoc); | ||
if (returnTypeFromJSDoc.kind === ts.SyntaxKind.TypeReference && | ||
returnTypeFromJSDoc.typeName.getText() === "Promise" && | ||
returnTypeFromJSDoc.typeArguments && | ||
// @ts-ignore | ||
returnTypeFromJSDoc.typeArguments.length === 1) { | ||
// @ts-ignore | ||
resultType = getParamType(returnTypeFromJSDoc.typeArguments[0], extra, enumList); | ||
// @ts-ignore | ||
resultDim = getParamDim(returnTypeFromJSDoc.typeArguments[0]); | ||
} | ||
else { | ||
resultType = getParamType(returnTypeFromJSDoc, extra, enumList); | ||
resultDim = getParamDim(returnTypeFromJSDoc); | ||
} | ||
} | ||
@@ -434,0 +446,0 @@ const resultItem = { |
{ | ||
"name": "custom-functions-metadata", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Generate metadata for Excel Custom Functions.", | ||
@@ -55,3 +55,3 @@ "main": "./lib/main.js", | ||
}, | ||
"gitHead": "56af6103c5ddf6b417a3d1fbd7bc58c1a809640b" | ||
"gitHead": "248552ca1a231a298ced3fb9a26d82a632a41efb" | ||
} |
Sorry, the diff of this file is not supported yet
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
81124
1131