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.
1 parent b5711be commit 0c5d6c4Copy full SHA for 0c5d6c4
src/types.ts
@@ -1164,7 +1164,7 @@ export type PaginatedRequest = Infer<typeof PaginatedRequestSchema>;
1164
export type PaginatedResult = Infer<typeof PaginatedResultSchema>;
1165
1166
/* Resources */
1167
-export type ResourceContents = Flatten<z.infer<typeof ResourceContentsSchema>>;
+export type ResourceContents = Infer<typeof ResourceContentsSchema>;
1168
export type TextResourceContents = Infer<typeof TextResourceContentsSchema>;
1169
export type BlobResourceContents = Infer<typeof BlobResourceContentsSchema>;
1170
export type Resource = Infer<typeof ResourceSchema>;
0 commit comments