We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26af1d4 commit 0093b24Copy full SHA for 0093b24
packages/types/src/shapes.ts
@@ -9,7 +9,7 @@ import { MetadataBearer } from "./response";
9
* document types and they SHOULD serialize document types inline as normal
10
* JSON values.
11
*/
12
-export type DocumentType = null | boolean | number | string | DocumentType[] | Record<string, DocumentType>;
+export type DocumentType = null | boolean | number | string | DocumentType[] | { [prop: string]: DocumentType };
13
14
/**
15
* A structure shape with the error trait.
0 commit comments