Skip to content

Commit bd5dfa6

Browse files
committed
fix: inaccurate typing for HTMLElementModelRecord
1 parent 11edb28 commit bd5dfa6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/render-html/src/shared-types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import type {
1010
} from 'react-native';
1111
import type {
1212
CSSPropertyNameList,
13-
CustomElementModel,
1413
Document,
1514
DocumentContext as TREDocumentContext,
1615
DomVisitorCallbacks,
@@ -44,8 +43,7 @@ import type { ParserOptions as HtmlParserOptions } from 'htmlparser2';
4443
*/
4544
export type HTMLElementModelRecord = Record<
4645
string,
47-
| CustomElementModel<string, HTMLContentModel>
48-
| HTMLElementModel<string, HTMLContentModel>
46+
HTMLElementModel<string, HTMLContentModel>
4947
>;
5048

5149
/**

0 commit comments

Comments
 (0)