From 31f70fa0a0bb8a38446ea88243ad949d759366d5 Mon Sep 17 00:00:00 2001 From: Josh Kelley Date: Fri, 1 Aug 2025 11:30:37 -0400 Subject: [PATCH] Remove jsdoc includePattern As explained at https://jsdoc.app/about-configuring-jsdoc#specifying-input-files, jsdoc uses a default includePattern of ".+\\.js(doc|x)?$" and filters out files (even files explicitly given on the command line) that do not match this pattern. pbts always runs on a single, explicitly given file, so it should disable includePattern. Fixes #2088 --- cli/lib/tsd-jsdoc.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/lib/tsd-jsdoc.json b/cli/lib/tsd-jsdoc.json index b5fe1d904..1488551cb 100644 --- a/cli/lib/tsd-jsdoc.json +++ b/cli/lib/tsd-jsdoc.json @@ -2,6 +2,9 @@ "tags": { "allowUnknownTags": false }, + "source": { + "includePattern": false + }, "plugins": [ "./tsd-jsdoc/plugin" ],