Closed FelixSchuSi closed 1 year ago
Oops, good catch. I wonder if it's worth adding lit-element/decorators.js
to a 2.5.2 release at this point.
This was fixed in https://github.com/lit/lit-element/pull/1171, but that change failed to add decorators.js
to package.json
's files
, so it was not published in 2.5.1.
The readme states that you can import decorators in lit-element v2.5.1 the same way as in lit v.2.0.0:
However importing decorators with lit-element v2.5.1 only works using:
import {customElement} from 'lit-element';
orimport {customElement} from 'lit-element/src/decorators.js';