Skip to content

Commit 4220044

Browse files
authored
Should have double checked locally
1 parent 4b7325d commit 4220044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ function isInDocumentableScope(symbol: TypeScript.Symbol, node: TypeScript.Node)
9393
// We need to check isSourceFile here as well because otherwise it will be picked up
9494
// in the scope of namespaces while we should be picking it up only in the first case
9595
if (
96-
ts.isSourceFile(node) &&
97-
ts.isModuleBlock(decl.parent) &&
96+
TypeScript.isSourceFile(node) &&
97+
TypeScript.isModuleBlock(decl.parent) &&
9898
decl.parent.parent.name.getText() === "global"
9999
) {
100100
return true

0 commit comments

Comments
 (0)