We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b043a1 commit ca95a6eCopy full SHA for ca95a6e
javascript/extractor/lib/typescript/src/main.ts
@@ -895,7 +895,7 @@ if (process.argv.length > 2) {
895
virtualSourceRoot: null,
896
});
897
for (let sf of state.project.program.getSourceFiles()) {
898
- if (pathlib.basename(sf.fileName) === "lib.d.ts") continue;
+ if (/lib\..*\.d\.ts/.test(pathlib.basename(sf.fileName)) || pathlib.basename(sf.fileName) === "lib.d.ts") continue;
899
handleParseCommand({
900
command: "parse",
901
filename: sf.fileName,
0 commit comments