From 386a467cdefaf771c63583099e65153d91785cd6 Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Wed, 30 Oct 2024 16:06:08 +0100 Subject: [PATCH] Export enum type in TypeScript --- packages/cw-schema-codegen/templates/typescript/enum.tpl.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/cw-schema-codegen/templates/typescript/enum.tpl.ts b/packages/cw-schema-codegen/templates/typescript/enum.tpl.ts index 8ab50d8e6..f2b897ccf 100644 --- a/packages/cw-schema-codegen/templates/typescript/enum.tpl.ts +++ b/packages/cw-schema-codegen/templates/typescript/enum.tpl.ts @@ -35,4 +35,6 @@ type {{ name }} = } } {% endmatch %} {% endfor %} -; \ No newline at end of file +; + +export { {{ name }} };