fixes type imports

This commit is contained in:
Jacob Fletcher
2024-10-02 10:06:24 -04:00
parent 1d7bcb365d
commit 4cd89cd5d7
13 changed files with 27 additions and 27 deletions

View File

@@ -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,