Skip to content

Commit

Permalink
fix(mock-doc): add inert to HTMLAttributes (#5072)
Browse files Browse the repository at this point in the history
add `inert` to the `HTMLAttributes` interface. this change only allows
the attribute to properly type check in TSX. it does not polyfill the
functionality for browsers that do not support `inert`.

STENCIL-1011 bug: Property 'inert' does not exist on type 'HTMLAttributes<HTMLXElement>'

fixes: #5071
  • Loading branch information
rwaskiewicz committed Nov 14, 2023
1 parent 9f913a9 commit 71a4110
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/declarations/stencil-public-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ export namespace JSXBase {
draggable?: boolean;
hidden?: boolean;
id?: string;
inert?: boolean;
lang?: string;
spellcheck?: 'true' | 'false' | any;
style?: { [key: string]: string | undefined };
Expand Down

0 comments on commit 71a4110

Please sign in to comment.