Skip to content

Commit

Permalink
fix: inaccurate typing for HTMLElementModelRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Oct 23, 2021
1 parent 11edb28 commit bd5dfa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/render-html/src/shared-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type {
} from 'react-native';
import type {
CSSPropertyNameList,
CustomElementModel,
Document,
DocumentContext as TREDocumentContext,
DomVisitorCallbacks,
Expand Down Expand Up @@ -44,8 +43,7 @@ import type { ParserOptions as HtmlParserOptions } from 'htmlparser2';
*/
export type HTMLElementModelRecord = Record<
string,
| CustomElementModel<string, HTMLContentModel>
| HTMLElementModel<string, HTMLContentModel>
HTMLElementModel<string, HTMLContentModel>
>;

/**
Expand Down

0 comments on commit bd5dfa6

Please sign in to comment.