fix(core): remove type exports; use lit-element/html directly for types

This commit is contained in:
Thomas Allmer 2019-05-17 11:24:48 +02:00 committed by Thomas Allmer
parent af538b6f3a
commit b2e7b7098b

View file

@ -1,3 +1,8 @@
/**
* Info for TypeScript users:
* For now please import types from lit-element and lit-html directly.
*/
// lit-html
export {
html,
@ -23,15 +28,22 @@ export { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
export { until } from 'lit-html/directives/until.js';
// lit-element
export {
css,
LitElement,
UpdatingElement,
unsafeCSS,
// css-tag.js
supportsAdoptingStyleSheets,
CSSResult,
unsafeCSS,
css,
// updating-element.js
defaultConverter,
notEqual,
UpdatingElement,
// decorators.js
customElement,
property,
PropertyDeclarations,
query,
queryAll,
eventOptions,
} from 'lit-element';
// ours
export { dedupeMixin } from './src/dedupeMixin.js';