From 08f7a7b56e3d857d8592bb9cadb4efef98921956 Mon Sep 17 00:00:00 2001 From: michaeljiz <3523452+michaeljiz@users.noreply.github.com> Date: Thu, 16 Jul 2020 03:18:20 -0400 Subject: [PATCH] Update Types.ts --- src/Types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } /**