Skip to content

Commit

Permalink
fix(types): remove circular ref error
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jun 13, 2022
1 parent 26f3c5c commit ca81a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/src/shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { MetadataBearer } from "./response";
* document types and they SHOULD serialize document types inline as normal
* JSON values.
*/
export type DocumentType = null | boolean | number | string | DocumentType[] | Record<string, DocumentType>;
export type DocumentType = null | boolean | number | string | DocumentType[] | { [prop: string]: DocumentType };

/**
* A structure shape with the error trait.
Expand Down

0 comments on commit ca81a02

Please sign in to comment.