Skip to content

Commit

Permalink
Add back some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseParsons committed Sep 17, 2024
1 parent 2186263 commit 3f4796e
Show file tree
Hide file tree
Showing 3 changed files with 4,641 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ast-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ module.exports = {
return "any";
},
isDocumentObject(node, context, fullTypeChecker) {
console.log(`context: ${!!context}`);
console.log(`isTypeScriptParserServices: ${!!this.isTypeScriptParserServices(context.sourceCode.parserServices)}`);
console.log(`program: ${!!context.sourceCode.parserServices.program}`);
if (fullTypeChecker) {
console.log("fullTypeChecker is not null");
const type = this.getNodeTypeAsString(fullTypeChecker, node, context);
return (type === "Document");
}
Expand Down
Loading

0 comments on commit 3f4796e

Please sign in to comment.