;
export interface WebCell extends CustomElement {
props: P & WebCellProps;
- internals: ElementInternals;
+ internals: ReturnType;
renderer: DOMRenderer;
root: ParentNode;
mounted: boolean;
@@ -157,10 +156,6 @@ export function component(meta: ComponentMeta) {
})
);
}
-
- toString() {
- return stringifyDOM(this.root);
- }
}
addInitializer(function () {
diff --git a/source/polyfill.ts b/source/polyfill.ts
index 269444f..09ebedd 100644
--- a/source/polyfill.ts
+++ b/source/polyfill.ts
@@ -1,4 +1,3 @@
-import 'element-internals-polyfill';
import { JSDOM } from 'jsdom';
const { window } = new JSDOM();
diff --git a/tsconfig.json b/tsconfig.json
index 4289e22..01938c5 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,8 +9,7 @@
"jsx": "react-jsx",
"jsxImportSource": "dom-renderer",
"skipLibCheck": true,
- "lib": ["ES2022", "DOM"],
- "types": ["@types/dom-view-transitions"]
+ "lib": ["ES2022", "DOM"]
},
"include": ["source/**/*"],
"typedocOptions": {