Skip to content

Commit b2e7b70

Browse files
committed
fix(core): remove type exports; use lit-element/html directly for types
1 parent af538b6 commit b2e7b70

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

packages/core/index.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Info for TypeScript users:
3+
* For now please import types from lit-element and lit-html directly.
4+
*/
5+
16
// lit-html
27
export {
38
html,
@@ -23,15 +28,22 @@ export { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
2328
export { until } from 'lit-html/directives/until.js';
2429
// lit-element
2530
export {
26-
css,
2731
LitElement,
28-
UpdatingElement,
29-
unsafeCSS,
32+
// css-tag.js
33+
supportsAdoptingStyleSheets,
3034
CSSResult,
35+
unsafeCSS,
36+
css,
37+
// updating-element.js
3138
defaultConverter,
3239
notEqual,
40+
UpdatingElement,
41+
// decorators.js
42+
customElement,
3343
property,
34-
PropertyDeclarations,
44+
query,
45+
queryAll,
46+
eventOptions,
3547
} from 'lit-element';
3648
// ours
3749
export { dedupeMixin } from './src/dedupeMixin.js';

0 commit comments

Comments
 (0)