fix(plugin-import-export): incorrect custom type on toCSVFunction changed to toCSV (#12796)

Type declaration extending `custom.['plugin-import-export']` was
incorrectly named `toCSVFunction` instead of `toCSV`. This changes the
type to match the correct property name `toCSV`.
This commit is contained in:
Dan Ribbens
2025-06-13 12:35:06 -04:00
committed by GitHub
parent e60db0750a
commit 3edcc40174

View File

@@ -91,7 +91,7 @@ export const importExportPlugin =
declare module 'payload' {
export interface FieldCustom {
'plugin-import-export'?: {
toCSVFunction?: ToCSVFunction
toCSV?: ToCSVFunction
}
}
}