@magicspace/tslint-rules
Advanced tools
Comparing version 0.1.26 to 0.1.29
@@ -25,2 +25,4 @@ "use strict"; | ||
tsutils_1.isConstructorDeclaration, | ||
tsutils_1.isGetAccessorDeclaration, | ||
tsutils_1.isSetAccessorDeclaration, | ||
tsutils_1.isMethodDeclaration, | ||
@@ -27,0 +29,0 @@ tsutils_1.isInterfaceDeclaration, |
@@ -78,3 +78,4 @@ "use strict"; | ||
} | ||
let returnType = nodeType.getCallSignatures()[0].getReturnType(); | ||
let callSignatures = nodeType.getCallSignatures()[0]; | ||
let returnType = callSignatures ? callSignatures.getReturnType() : nodeType; | ||
let returnTypeString = this.typeChecker.typeToString(returnType); | ||
@@ -81,0 +82,0 @@ let primitiveReturnType = returnTypeString; |
{ | ||
"name": "@magicspace/tslint-rules", | ||
"version": "0.1.26", | ||
"version": "0.1.29", | ||
"description": "Custom TSLint rules for MagicSpace.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/makeflow/magicspace.git", |
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
57358
18
1500