lit-element icon indicating copy to clipboard operation
lit-element copied to clipboard

Trying with TS results in has no exported member 'customElement'

Open rjcorwin opened this issue 7 years ago • 1 comments

I'm super excited about Lit Element! While giving it a spin in Angular I hit a snag trying to get a hello world going. Any tips on getting this working?

ERROR in src/app/hello-world.component.ts(1,28): error TS2305: Module '"/Users/rjsteinert/Git/rjsteinert/pong/node_modules/@polymer/lit-element/lit-element"' has no exported member 'customElement'.
screen shot 2018-05-11 at 12 49 08 pm

rjcorwin avatar May 11 '18 16:05 rjcorwin

Oh woops. Getting this mixed up with the @polymer/lit-element library. I gave this library a try and no luck yet...

screen shot 2018-05-11 at 12 59 29 pm

rjcorwin avatar May 11 '18 17:05 rjcorwin