@customElement({name: 'my-element'})
class MyCustomElement extends Polymer.Element {
// ...
}
Error the {name: 'my-element'}:
TS2345: Argument of type '{ name: string; }' is not assignable to parameter of type 'CustomElementOptions'.
Property 'stripWhitespace' is missing in type '{ name: string; }'.
Code:
Error the
{name: 'my-element'}
: