Skip to content

Commit

Permalink
fixed bug changing {} to Object
Browse files Browse the repository at this point in the history
  • Loading branch information
hosein khan beigi authored and hosein khan beigi committed Sep 24, 2018
1 parent 25c0bb5 commit ff2eaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formik.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
getIn,
} from './utils';

export class Formik<Values = {}, ExtraProps = {}> extends React.Component<
export class Formik<Values = Object, ExtraProps = {}> extends React.Component<
FormikConfig<Values> & ExtraProps,
FormikState<any>
> {
Expand Down

1 comment on commit ff2eaa3

@jaredpalmer
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think object should be lowercase. In hindsight changing thrust was a bad idea. Should have kept it like this.

Please sign in to comment.