Skip to content

Commit

Permalink
add exactOptionalPropertyTypes support to jsx and key attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
deadem committed Jan 24, 2023
1 parent b3bc332 commit d718f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export type ComponentChild =
export type ComponentChildren = ComponentChild[] | ComponentChild;

export interface Attributes {
key?: Key;
jsx?: boolean;
key?: Key | undefined;
jsx?: boolean | undefined;
}

export interface ClassAttributes<T> extends Attributes {
Expand Down

0 comments on commit d718f00

Please sign in to comment.