Skip to content

Commit 0093b24

Browse files
committed
fix(types): remove circular ref error
1 parent 26af1d4 commit 0093b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/shapes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { MetadataBearer } from "./response";
99
* document types and they SHOULD serialize document types inline as normal
1010
* JSON values.
1111
*/
12-
export type DocumentType = null | boolean | number | string | DocumentType[] | Record<string, DocumentType>;
12+
export type DocumentType = null | boolean | number | string | DocumentType[] | { [prop: string]: DocumentType };
1313

1414
/**
1515
* A structure shape with the error trait.

0 commit comments

Comments
 (0)