Skip to content

Commit

Permalink
fix: module stub for external type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell committed Jul 29, 2024
1 parent 26e7d83 commit 752fa21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-runtime/compile/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ var scaffoldFuncs = scaffolder.FuncMap{
},
"typeAliasType": func(m *schema.Module, t *schema.TypeAlias) string {
if _, goType := getGoExternalTypeForWidenedType(t); goType != "" {
return goType
return "= " + goType
}
return genType(m, t.Type)
},
Expand Down

0 comments on commit 752fa21

Please sign in to comment.