Showing 4 of 8 total issues
Function visit
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const visit = (node: ts.Node): ts.Node => {
if (
[
ts.SyntaxKind.InterfaceDeclaration,
ts.SyntaxKind.PropertySignature
Avoid too many return
statements within this function. Open
Open
return ts.visitEachChild(node, visit, this.context);
Avoid too many return
statements within this function. Open
Open
return resultName;
Avoid too many return
statements within this function. Open
Open
if (!resultName) return ts.createEmptyStatement();