Skip to content

Commit

Permalink
Update the optional children type definition in jsx.d.ts
Browse files Browse the repository at this point in the history
Added null to the possible types of the opcional children property of the HtmxAttributes interface
  • Loading branch information
bertez authored and Desdaemon committed Apr 22, 2024
1 parent 11b2ffd commit d9d87df
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 @@ -165,7 +165,7 @@ interface HtmxBuiltinExtensions {
*/
interface HtmxAttributes {
/** @ignore For React compatibility only. */
children?: {};
children?: {} | null;
/** @ignore For React compatibility only. */
key?: {};
/**
Expand Down

0 comments on commit d9d87df

Please sign in to comment.