Skip to content

Commit

Permalink
Merge pull request teslamotors#444 from mfp22/patch-1
Browse files Browse the repository at this point in the history
Added type for Debug props
  • Loading branch information
joepuzzo authored Feb 21, 2023
2 parents 8bbfa57 + 58f2b56 commit 4971cee
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 4971cee

Please sign in to comment.