chore: update guts to latest, using mutations to prevent diffs (#17588)

Guts changes: https://github.com/coder/guts/compare/v1.1.0...main
This commit is contained in:
Steven Masley
2025-04-28 12:19:41 -05:00
committed by GitHub
parent 37c5e7c440
commit b9177eff7f
4 changed files with 9 additions and 4 deletions
+5
View File
@@ -67,7 +67,12 @@ func main() {
func TsMutations(ts *guts.Typescript) {
ts.ApplyMutations(
// TODO: Remove 'NotNullMaps'. This is hiding potential bugs
// of referencing maps that are actually null.
config.NotNullMaps,
FixSerpentStruct,
// Prefer enums as types
config.EnumAsTypes,
// Enum list generator
config.EnumLists,
// Export all top level types