Skip to content

Commit 386a467

Browse files
committed
Export enum type in TypeScript
1 parent f93d67c commit 386a467

File tree

1 file changed

+3
-1
lines changed
  • packages/cw-schema-codegen/templates/typescript

1 file changed

+3
-1
lines changed

packages/cw-schema-codegen/templates/typescript/enum.tpl.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ type {{ name }} =
3535
} }
3636
{% endmatch %}
3737
{% endfor %}
38-
;
38+
;
39+
40+
export { {{ name }} };

0 commit comments

Comments
 (0)