Skip to content

Commit

Permalink
Added type for Debug props
Browse files Browse the repository at this point in the history
  • Loading branch information
mfp22 authored Feb 18, 2023
1 parent 8bbfa57 commit 58f2b56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,11 @@ declare namespace utils {
}

export function SchemaFields(): JSX.Element;
export function Debug(): JSX.Element;

type DebugProps = {
[FormStateKey in keyof FormState]?: boolean;
};
export function Debug(props: DebugProps): JSX.Element;

// export class Elon {
// static inspect([any]): any;
Expand Down

0 comments on commit 58f2b56

Please sign in to comment.