Skip to content

Commit

Permalink
fix: types of fieldMapper option to allow any properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Kjelkenes committed Aug 23, 2023
1 parent 84bf86b commit f4d29c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
ArrayOfObjectsInputProps,
AssetFromSource,
AssetSource,
definePlugin,
isArrayOfObjectsSchemaType,
Expand Down Expand Up @@ -34,7 +33,7 @@ export interface ImageShopPluginConfig {

// custom hooks
languageResolver?: () => string
fieldMapper?: (asset: AssetFromSource) => AssetFromSource
fieldMapper?: (asset: any, documentProps: any) => any
}
/**
* @public
Expand Down

0 comments on commit f4d29c8

Please sign in to comment.