-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
enhancementNew feature or requestNew feature or requestupstreamRelated to or blocked on an upstream projectRelated to or blocked on an upstream project
Description
Discussion - #891
I'm trying build Lit Element examples using wmr. The ts examples play nicely - the ts ones fail with the @ of the decorator
https://lit.dev/playground/#sample=examples/full-component
Is your feature request related to a problem? Please describe.
./public\motion-todos.ts - Unexpected character '@' (./motion-todos.ts:26:1)
24 |
25 |
> 26 | @customElement('motion-todos')
| ^
27 | export class MotionTodos extends LitElement {constructor(...args) { super…
28 | static __initStatic() {this.styles = styles}
29 |
Work around
Use the long form customElements.define('motion-todos',MotionTodos)
define the properties the old skool js way
Describe the solution you'd like
It would be great it it just worked ;-)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestupstreamRelated to or blocked on an upstream projectRelated to or blocked on an upstream project