Skip to content

Commit 95fcd2e

Browse files
committed
chore: fix type export
1 parent 2c93b6d commit 95fcd2e

File tree

16 files changed

+29
-86
lines changed

16 files changed

+29
-86
lines changed

packages/react-form-nextjs/src/createServerValidate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type {
1212
FormValidateOrFn,
1313
UnwrapFormAsyncValidateOrFn,
1414
} from '@tanstack/form-core'
15-
import type { ServerFormState } from './types'
15+
import type { ServerFormState } from '@tanstack/react-form'
1616

1717
interface CreateServerValidateOptions<
1818
TFormData,

packages/react-form-nextjs/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ServerFormState } from './types'
21
import type { FormAsyncValidateOrFn } from '@tanstack/form-core'
2+
import type { ServerFormState } from '@tanstack/react-form'
33

44
interface ServerValidateErrorState<
55
TFormData,

packages/react-form-nextjs/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export * from '@tanstack/react-form'
22

33
export * from './createServerValidate'
44
export * from './error'
5-
export * from './types'

packages/react-form-nextjs/src/types.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/react-form-remix/src/createServerValidate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type {
1212
FormValidateOrFn,
1313
UnwrapFormAsyncValidateOrFn,
1414
} from '@tanstack/form-core'
15-
import type { ServerFormState } from './types'
15+
import type { ServerFormState } from '@tanstack/react-form'
1616

1717
interface CreateServerValidateOptions<
1818
TFormData,

packages/react-form-remix/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ServerFormState } from './types'
21
import type { FormAsyncValidateOrFn } from '@tanstack/form-core'
2+
import type { ServerFormState } from '@tanstack/react-form'
33

44
interface ServerValidateErrorState<
55
TFormData,

packages/react-form-remix/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export * from '@tanstack/react-form'
22

33
export * from './createServerValidate'
44
export * from './error'
5-
export * from './types'

packages/react-form-remix/src/types.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/react-form-start/src/createServerValidate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getRequestHeader } from '@tanstack/react-start/server'
77
import { decode } from 'decode-formdata'
88
import { ServerValidateError } from './error'
99
import { setInternalTanStackCookie } from './utils'
10-
import type { ServerFormState } from './types'
10+
import type { ServerFormState } from '@tanstack/react-form'
1111
import type {
1212
FormAsyncValidateOrFn,
1313
FormOptions,

packages/react-form-start/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ServerFormState } from './types'
21
import type { FormAsyncValidateOrFn } from '@tanstack/form-core'
2+
import type { ServerFormState } from '@tanstack/react-form'
33

44
interface ServerValidateErrorState<
55
TFormData,

0 commit comments

Comments
 (0)