fixes type imports
This commit is contained in:
@@ -94,7 +94,7 @@ In order for Payload to support dynamic Sever Functions, a single handler is pla
|
||||
```ts
|
||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||
import type { ClientServerFunction } from 'payload'
|
||||
import type { ServerFunctionClient } from 'payload'
|
||||
|
||||
import config from '@payload-config'
|
||||
import { RootLayout } from '@payloadcms/next/layouts'
|
||||
@@ -110,7 +110,7 @@ type Args = {
|
||||
}
|
||||
|
||||
// highlight-start
|
||||
const serverFunction: ClientServerFunction = async function (args) {
|
||||
const serverFunction: ServerFunctionClient = async function (args) {
|
||||
'use server'
|
||||
return handleServerFunctions({
|
||||
...args,
|
||||
|
||||
Reference in New Issue
Block a user