Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"main": "dist/react-final-form.cjs.js",
"jsnext:main": "dist/react-final-form.es.js",
"module": "dist/react-final-form.es.js",
"typings": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"start": "nps",
Expand Down
4 changes: 2 additions & 2 deletions src/ReactFinalForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
version as ffVersion
} from 'final-form'
import type {
Api,
FormApi,
Config,
FormSubscription,
FormState,
Expand All @@ -35,7 +35,7 @@ export default class ReactFinalForm extends React.PureComponent<Props, State> {
context: ReactContext
props: Props
state: State
form: Api
form: FormApi
unsubscriptions: Unsubscribe[]

static childContextTypes = {
Expand Down
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react'
import { Api, Config, Decorator, FormState, FormSubscription, FieldSubscription } from 'final-form'
import { FormApi, Config, Decorator, FormState, FormSubscription, FieldSubscription } from 'final-form'

export type ReactContext = {
reactFinalForm: Api
reactFinalForm: FormApi
}

export type FieldRenderProps = {
Expand Down
4 changes: 2 additions & 2 deletions src/types.js.flow
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
import * as React from 'react'
import type {
Api,
FormApi,
Config,
Decorator,
FormState,
Expand All @@ -10,7 +10,7 @@ import type {
} from 'final-form'

export type ReactContext = {
reactFinalForm: Api
reactFinalForm: FormApi
}

export type FieldRenderProps = {
Expand Down