. ignore interfaces/type aliases that describe a parameter type in the same file) import { Project, TypeGuards tsconfig.json" }); for (const file of project.getSourceFiles()) { file.forEachChild((child) => { if (TypeGuards.isVariableStatement } else if (isExported(child)) checkNode(child); }); } function isExported(node: Node) { return TypeGuards.isExportableNode TypeGuards.isReferenceFindableNode(node)) return; const file = node.getSourceFile(); if ( node.findReferencesAsNodes length === 0 ) console.log( `[${file.getFilePath()}:${node.getStartLineNumber()}: ${ TypeGuards.hasName
. ignore interfaces/type aliases that describe a parameter type in the same file) import { Project, TypeGuards tsconfig.json" }); for (const file of project.getSourceFiles()) { file.forEachChild((child) => { if (TypeGuards.isVariableStatement } else if (isExported(child)) checkNode(child); }); } function isExported(node: Node) { return TypeGuards.isExportableNode TypeGuards.isReferenceFindableNode(node)) return; const file = node.getSourceFile(); if ( node.findReferencesAsNodes length === 0 ) console.log( `[${file.getFilePath()}:${node.getStartLineNumber()}: ${ TypeGuards.hasName