mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user