Skip to content

Commit

Permalink
Update index.d.ts (#4056)
Browse files Browse the repository at this point in the history
Type parity with upstream for PureComponent

Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
  • Loading branch information
HK47196 and JoviDeCroock authored Nov 6, 2023
1 parent 3c5aad6 commit 046af87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ declare namespace React {
component: preact.Component | Element
): Element | null;

export abstract class PureComponent<P = {}, S = {}> extends preact.Component<
export abstract class PureComponent<P = {}, S = {}, SS = any> extends preact.Component<
P,
S
> {
Expand Down

0 comments on commit 046af87

Please sign in to comment.