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 59c7402 commit 63127f7Copy full SHA for 63127f7
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