Skip to content

Commit 4db7c23

Browse files
fix: fix typing discrepency
1 parent 324a25d commit 4db7c23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/mutation-observers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function observerCallback(mutationList: MutationRecord[]) {
4444
observer.disconnect();
4545
}
4646
});
47-
})
47+
});
4848
}
4949

5050
/**

Diff for: src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface IElementInternals extends IAom {
5151
validationMessage?: string,
5252
anchor?: HTMLElement
5353
) => void;
54-
shadowRoot: ShadowRoot;
54+
shadowRoot: ShadowRoot|null;
5555
states: CustomStateSet;
5656
validationMessage: string;
5757
validity: globalThis.ValidityState;

0 commit comments

Comments
 (0)