chore: include codersdk comments in typescript output (#20348)

Some comments are likely still omitted as guts does not cover all cases
right now. And some cases are omitted because the output format is
ambiguous on how best to format it.
This commit is contained in:
Steven Masley
2025-10-17 08:40:56 -05:00
committed by GitHub
parent a6461ab7ff
commit aec3e9e5ab
4 changed files with 1896 additions and 27 deletions
+3
View File
@@ -17,6 +17,9 @@ func main() {
log.Fatalf("new convert: %v", err)
}
// Include golang comments to typescript output.
gen.PreserveComments()
generateDirectories := map[string]string{
"github.com/coder/coder/v2/codersdk": "",
"github.com/coder/coder/v2/coderd/healthcheck/health": "Health",