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:
@@ -91,7 +91,7 @@ export const importExportPlugin =
|
|||||||
declare module 'payload' {
|
declare module 'payload' {
|
||||||
export interface FieldCustom {
|
export interface FieldCustom {
|
||||||
'plugin-import-export'?: {
|
'plugin-import-export'?: {
|
||||||
toCSVFunction?: ToCSVFunction
|
toCSV?: ToCSVFunction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user