From 752fa219532f75dd789f31ce08d3fe37af8c7c05 Mon Sep 17 00:00:00 2001 From: Elizabeth Worstell Date: Mon, 29 Jul 2024 12:37:31 -0700 Subject: [PATCH] fix: module stub for external type aliases --- go-runtime/compile/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-runtime/compile/build.go b/go-runtime/compile/build.go index 4a440fd2eb..1cfe7cebdb 100644 --- a/go-runtime/compile/build.go +++ b/go-runtime/compile/build.go @@ -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) },