diff --git a/src/Types.ts b/src/Types.ts index 62bb4cd..cba16c0 100644 --- a/src/Types.ts +++ b/src/Types.ts @@ -26,8 +26,9 @@ export interface IDocumentOptions { /** * Document interface. */ -export interface IDocument { +export interface IDocument { readonly id: string | undefined; + data: T | undefined; } /**