Skip to content

Commit

Permalink
P, S args for Args
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Hedger committed Mar 23, 2019
1 parent a5c9c68 commit 9f7f133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/component-component/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ declare module "@reach/component-component" {

type Refs = { [key: string]: React.RefObject<HTMLElement> };

type StateProps<P, S> = Pick<Args<{}, {}>, "state" | "props">;
type StateProps<P, S> = Pick<Args<P, S>, "state" | "props">;

export type ComponentProps<P, S> = {
initialState?: S;
Expand Down

0 comments on commit 9f7f133

Please sign in to comment.