Skip to content

Commit

Permalink
Merge pull request #4570 from preactjs/del-datetime-optional
Browse files Browse the repository at this point in the history
fix(types): mark `datetime` on `<del>` as optional
  • Loading branch information
marvinhagemeister authored Nov 25, 2024
2 parents 269cdd8 + c7ae2d2 commit bd14437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ export namespace JSXInternal {

interface DelHTMLAttributes<T extends EventTarget> extends HTMLAttributes<T> {
cite?: Signalish<string | undefined>;
datetime: Signalish<string | undefined>;
datetime?: Signalish<string | undefined>;
dateTime?: Signalish<string | undefined>;
}

Expand Down

0 comments on commit bd14437

Please sign in to comment.