Open hanvyj opened 1 year ago
So the issue is
if (isUserFile(sourceFile)) {
userSymbols[name] = symbol;
}
Hits the following symbols in ...node_modules/@types/node/cluster.d.ts
:
ClusterSettings
Address
Worker
Cluster
Which, given userSymbols
is a map, overwrite the userSymbols["Cluster"]
, and it's then filtered out by getMainFileSymbols
with files.indexOf(node.getSourceFile())
I have an interface that's just completely missing from my output schema, I've narrowed it down to the name. Here's an example:
This produces the schema:
Using any name other than
Cluster
, sayCluster2
and I get the expected:Are there any reserved words or something we can't use? Is this expected? Can I overwrite that behaviour?