diff options
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r-- | src/fields/Document.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index 56ac3c471..f7239145f 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -159,7 +159,7 @@ export class Document extends Field { throw new Error("Method not implemented."); } - ToJson(): { type: Types, data: [string, string][], _id: ObjectID } { + ToJson(): { type: Types, data: [string, string][], _id: String } { let fields: [string, string][] = [] this._proxies.forEach((field, key) => { if (field) { |