fix(types): preserve complete nested types during post-processing
Release Tag / validate-version (push) Canceled after 0s
Release Tag / trigger-release (push) Canceled after 0s

Use the TypeScript parser instead of a regex that truncates nested generics and function types. Validate generated syntax and add a regression test. Include workspace aliases and PTY ambient declarations. The full type package build still reports six errors in third-party node-pty source; this commit does not claim to resolve that remaining issue.
This commit is contained in:
手瓜一十雪 committed 2026-10-06 17:51:21 +08:00
1 parent 9109b8cfe2
commit 4f1401da78
4 files changed
+77 -6

No files matched your search

+3 -2
View File
@@ -19,6 +19,7 @@
"devDependencies": {
"napcat-core": "workspace:*",
"napcat-onebot": "workspace:*",
"tsc-alias": "^1.8.16"
"tsc-alias": "^1.8.16",
"typescript": "^5.3.0"
}
}
}