diff --git a/lib/types.ts b/lib/types.ts index 30b4bad..baf99e0 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -68,7 +68,7 @@ export type Path = Key[] * - Functions * - Sets, Maps, Dates, DOM nodes, etc */ -export type Doc = null | boolean | number | string | Doc[] | {[k: string]: Doc} +export type Doc = null | boolean | number | string | Doc[] | Record export enum ConflictType { RM_UNEXPECTED_CONTENT = 1,