types: use stricter HostNode typings

This commit is contained in:
Evan You
2019-09-06 16:58:32 -04:00
parent 360f3b4f37
commit 3904678306
12 changed files with 228 additions and 171 deletions

View File

@@ -218,7 +218,7 @@ function nextSibling(node: TestNode): TestNode | null {
return parent.children[i + 1] || null
}
function querySelector() {
function querySelector(): any {
throw new Error('querySelector not supported in test renderer.')
}