We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transformDocument
1 parent 37fddbe commit ec1f018Copy full SHA for ec1f018
src/types.ts
@@ -162,7 +162,7 @@ export type ExportOptions = {
162
* @param doc - The document to transform
163
* @returns The transformed document
164
*/
165
- transformDocument?: (doc: SanityDocument) => SanityDocument
+ transformDocument?: (doc: SanityDocument) => Partial<SanityDocument>
166
167
/**
168
* Optional progress callback that will be called periodically during the export.
0 commit comments