Skip to content

Commit 8c42d53

Browse files
authored
fix: added root type (#14)
1 parent 6d86b8b commit 8c42d53

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export interface CustomElementPropertyTree {
1919

2020
export type CustomElementOptions<T> = {
2121
renderer?: (what: T, where: Element) => void
22+
root?: "standard" | "shadow" | "shadow:closed"
2223
render: () => T
2324
computed?: CustomElementComputedTree
2425
props?: CustomElementPropertyTree

0 commit comments

Comments
 (0)