From daef2879c7ae9691815bdac0fb242112bd8ed39b Mon Sep 17 00:00:00 2001 From: Swarnim Arun Date: Thu, 22 Jun 2023 15:26:32 +0530 Subject: [PATCH] fix: incorrect ts interface --- src/dom/html-collection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/html-collection.ts b/src/dom/html-collection.ts index 7614d17..197c5c5 100644 --- a/src/dom/html-collection.ts +++ b/src/dom/html-collection.ts @@ -105,7 +105,7 @@ export interface HTMLCollection { readonly length: number; [Symbol.iterator](): Generator; - item(index: number): Element; + item(index: number): Element | null; [HTMLCollectionMutatorSym](): HTMLCollectionMutator; }