Skip to content

Commit bd5f812

Browse files
committed
feat: allow public access of documentImpl
so users don't have to find another DOM implementation
1 parent 57bc5b7 commit bd5f812

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Inspector.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ function nsResolver(prefix) {
5858
// we need EventEmitter for warning events, which can happen
5959
// anytime event fired
6060
export class Inspector extends EventEmitter {
61-
// fixed document object reference
62-
protected documentImpl: DOMImplementation;
61+
readonly documentImpl: DOMImplementation;
6362
protected eventTimeout: number;
6463

6564
protected document: Document;

0 commit comments

Comments
 (0)