Skip to content
Permalink
Browse files

Add ts to migration docs (#1995)

  • Loading branch information...
qw-in authored and jaredpalmer committed Nov 7, 2019
1 parent 5553720 commit 5bae8e05f60e1801d8740317a38c2992f7750470
Showing with 15 additions and 0 deletions.
  1. +15 −0 docs/migrating-v2.md
@@ -26,6 +26,21 @@ resetForm(nextValues);
resetForm({ values: nextValues /* errors, touched, etc ... */ });
```

### Typescript changes
**`FormikActions` has been renamed to `FormikHelpers`** It should be a straightforward change to import or alias the type

**v1**

```tsx
import { FormikActions } from 'formik';
```

**v2**

```tsx
import { FormikHelpers as FormikActions } from 'formik';
```

## What's New?

### Checkboxes and Select multiple

1 comment on commit 5bae8e0

@now

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.