Closed vijayshekhawat closed 2 months ago
Hi @vijayshekhawat
Can you please create a simple reproduction of the issue?
And, do you get the issue when using property decorator but other decorator like @state
works fine?
Closing because of inactivity
If I try to use the property annotation in my ts file like @property({ type: String }) name = "vijay";
template
I get the below error. I am able to run the file using static properties though
Error cause: { statusMessage: 'Vite Error', message: '[vite-node] [PARSE_ERROR] /wc/Sidebar.ts', stack: '[vite-node] [PARSE_ERROR] /wc/Sidebar.ts\nat /wc/Sidebar.ts' }, statusCode: 500, fatal: false, unhandled: false, statusMessage: 'Vite Error', data: undefined