This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Typescript: accept Enum as plain object in template #35
Closed
Description
Hi!
version: plugin v0.5.6 - nuxt 2.15.8
When use typescript in project i usually use enum
as safe way to store config values. With composition api setup function we can do like this without issue:
When use script setup , editor still accept write enum and pass to template, but in runtime it not actually foward enum to template :
can we update this part to accept enum as normal static plain object in template.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels